1 write to ChannelExtension
System.ServiceModel.Routing (1)
System\ServiceModel\Routing\RoutingService.cs (1)
63
this.
ChannelExtension
= channel.Extensions.Find<RoutingChannelExtension>();
25 references to ChannelExtension
System.ServiceModel.Routing (25)
System\ServiceModel\Routing\ClientFactory.cs (1)
361
: base(endpointTrait, service.RoutingConfig, new DuplexCallbackProxy(service.
ChannelExtension
.ActivityID, endpointTrait.CallbackInstance), impersonating)
System\ServiceModel\Routing\ProcessMessagesAsyncResult.cs (2)
39
this.channelExtension = service.
ChannelExtension
;
600
Fx.Assert(!this.service.
ChannelExtension
.TransactedReceiveEnabled, "Should only happen for non-transactional cases");
System\ServiceModel\Routing\ProcessRequestAsyncResult.cs (4)
32
this.messageRpc = new MessageRpc(message, OperationContext.Current, service.
ChannelExtension
.ImpersonationRequired);
41
EndpointNameMessageFilter.Set(this.messageRpc.Message.Properties, service.
ChannelExtension
.EndpointName);
140
FxTrace.Trace.SetAndTraceTransfer(thisPtr.service.
ChannelExtension
.ActivityID, true);
218
!this.service.
ChannelExtension
.HasSession)
System\ServiceModel\Routing\RoutingService.cs (18)
64
if (this.
ChannelExtension
== null)
71
this.
ChannelExtension
.AttachService(this);
115
if (messageRpc.Transaction != null && this.
ChannelExtension
.TransactedReceiveEnabled)
125
else if (!this.
ChannelExtension
.TransactedReceiveEnabled || !this.
ChannelExtension
.ReceiveContextEnabled)
154
if (impersonating && !this.
ChannelExtension
.HasSession)
160
return this.
ChannelExtension
.SessionChannels;
166
if (impersonating && !this.
ChannelExtension
.HasSession)
170
this.perMessageChannels = new SessionChannels(this.
ChannelExtension
.ActivityID);
176
return this.
ChannelExtension
.SessionChannels.GetOrCreateClient<TContract>(endpointTrait, this, impersonating);
204
IAsyncResult result = this.perMessageChannels.BeginClose(this.
ChannelExtension
.OperationTimeout, null, null);
215
if (this.
ChannelExtension
.HasSession)
217
this.
ChannelExtension
.SessionChannels.AbortAll();
273
FxTrace.Trace.SetAndTraceTransfer(this.
ChannelExtension
.ActivityID, true);
274
return new ProcessMessagesAsyncResult<TContract>(message, this, this.
ChannelExtension
.OperationTimeout, callback, state);
290
FxTrace.Trace.SetAndTraceTransfer(this.
ChannelExtension
.ActivityID, true);
307
FxTrace.Trace.SetAndTraceTransfer(this.
ChannelExtension
.ActivityID, true);
324
FxTrace.Trace.SetAndTraceTransfer(this.
ChannelExtension
.ActivityID, true);