13 instantiations of OperationContextScope
System.ServiceModel (2)
System\ServiceModel\Channels\PeerSecurityHelpers.cs (1)
764using (OperationContextScope scope = new OperationContextScope(new OperationContext((ServiceHostBase)null)))
System\ServiceModel\Transactions\WsatProxy.cs (1)
142using (new OperationContextScope((OperationContext)null))
System.ServiceModel.Discovery (7)
System\ServiceModel\Discovery\AnnouncementClient.cs (1)
589this.operationContextScope = new OperationContextScope(clientChannel);
System\ServiceModel\Discovery\AnnouncementSendsAsyncResult.cs (1)
38using (new OperationContextScope(this.announcementClient.InnerChannel))
System\ServiceModel\Discovery\DiscoveryClient.cs (1)
1291this.operationContextScope = new OperationContextScope(clientChannel);
System\ServiceModel\Discovery\ProbeDuplexAsyncResult.cs (2)
281using (new OperationContextScope(contextChannel)) 311using (new OperationContextScope(contextChannel))
System\ServiceModel\Discovery\ResolveDuplexAsyncResult.cs (2)
211using (new OperationContextScope(contextChannel)) 251using (new OperationContextScope(contextChannel))
System.ServiceModel.Routing (1)
System\ServiceModel\Routing\MessageRpc.cs (1)
251this.nullContextScope = new OperationContextScope((OperationContext)null);
System.WorkflowServices (3)
System\ServiceModel\Activities\WorkflowClientDeliverMessageWrapper.cs (1)
48using (OperationContextScope scope = new OperationContextScope((IContextChannel)desClient.InnerChannel))
System\ServiceModel\Dispatcher\ServiceOperationInvoker.cs (1)
299using (OperationContextScope operationScope = new OperationContextScope(this.operationContext))
System\Workflow\Activities\SendActivity.cs (1)
394using (OperationContextScope scope = new OperationContextScope((IContextChannel) leasedChannel.Channel))
13 references to OperationContextScope
System.ServiceModel (7)
System\ServiceModel\Channels\PeerSecurityHelpers.cs (1)
764using (OperationContextScope scope = new OperationContextScope(new OperationContext((ServiceHostBase)null)))
System\ServiceModel\OperationContextScope.cs (6)
14static OperationContextScope legacyCurrentScope; 16static AsyncLocal<OperationContextScope> currentScope = new AsyncLocal<OperationContextScope>(); 21readonly OperationContextScope originalScope = OperationContextScope.CurrentScope; 34private static OperationContextScope CurrentScope
System.ServiceModel.Discovery (2)
System\ServiceModel\Discovery\AnnouncementClient.cs (1)
576OperationContextScope operationContextScope;
System\ServiceModel\Discovery\DiscoveryClient.cs (1)
1274OperationContextScope operationContextScope;
System.ServiceModel.Routing (1)
System\ServiceModel\Routing\MessageRpc.cs (1)
246OperationContextScope nullContextScope;
System.WorkflowServices (3)
System\ServiceModel\Activities\WorkflowClientDeliverMessageWrapper.cs (1)
48using (OperationContextScope scope = new OperationContextScope((IContextChannel)desClient.InnerChannel))
System\ServiceModel\Dispatcher\ServiceOperationInvoker.cs (1)
299using (OperationContextScope operationScope = new OperationContextScope(this.operationContext))
System\Workflow\Activities\SendActivity.cs (1)
394using (OperationContextScope scope = new OperationContextScope((IContextChannel) leasedChannel.Channel))