1 write to channel
System.ServiceModel.Activities (1)
System\ServiceModel\Activities\InternalSendMessage.cs (1)
1766
this.
channel
= this.instance.ClientSendChannel;
14 references to channel
System.ServiceModel.Activities (14)
System\ServiceModel\Activities\InternalSendMessage.cs (14)
1772
if (this.
channel
.State == CommunicationState.Created)
1775
IContextManager contextManager = this.
channel
.GetProperty<IContextManager>();
1781
IAsyncResult result = this.
channel
.BeginOpen(PrepareAsyncCompletion(onChannelOpened), this);
1808
thisPtr.
channel
.EndOpen(result);
1841
result = ((IRequestChannel)this.
channel
).BeginRequest(this.instance.RequestOrReply, onChannelReceiveReplyCompleted, this);
1844
Message reply = ((IRequestChannel)this.
channel
).EndRequest(result);
1850
result = ((IOutputChannel)this.
channel
).BeginSend(this.instance.RequestOrReply, PrepareAsyncCompletion(onChannelSendComplete), this);
1853
((IOutputChannel)this.
channel
).EndSend(result);
1872
this.
channel
.Abort();
1920
Fx.Assert(thisPtr.
channel
is IRequestChannel, "Channel must be of IRequestChannel type!");
1922
reply = ((IRequestChannel)thisPtr.
channel
).EndRequest(result);
1956
thisPtr.
channel
.Abort();
1983
Fx.Assert(thisPtr.
channel
is IOutputChannel, "Channel must be of IOutputChannel type!");
1985
((IOutputChannel)thisPtr.
channel
).EndSend(result);