3 interfaces inheriting from IContextChannel
System.ServiceModel.Primitives (3)
System\ServiceModel\IClientChannel.cs (1)
9public interface IClientChannel : IContextChannel, IDisposable
System\ServiceModel\IDuplexContextChannel.cs (1)
8public interface IDuplexContextChannel : IContextChannel
System\ServiceModel\IServiceChannel.cs (1)
8public interface IServiceChannel : IContextChannel
79 references to IContextChannel
Binding.Http.IntegrationTests (3)
BasicHttpBindingTests.4.0.0.cs (2)
259using (new OperationContextScope((IContextChannel)serviceProxy)) 303using (new OperationContextScope((IContextChannel)serviceProxy))
OperationContextTests.cs (1)
45var scope = new OperationContextScope((IContextChannel)serviceProxy);
Binding.ReliableSession.IntegrationTests (2)
NetHttpBindingTests.cs (1)
312using (var scope = new OperationContextScope((IContextChannel)serviceProxy))
WSHttpBindingTests.cs (1)
312using (var scope = new OperationContextScope((IContextChannel)serviceProxy))
Binding.Tcp.IntegrationTests (3)
OperationContextAsyncFlowTests.cs (3)
31using (var scope = new OperationContextScope((IContextChannel)serviceProxy)) 66using (var scope = new OperationContextScope((IContextChannel)serviceProxy)) 74using (var scope2 = new OperationContextScope((IContextChannel)serviceProxy))
Client.ClientBase.IntegrationTests (5)
ClientBaseTests.4.0.0.cs (1)
775using (OperationContextScope scope = new OperationContextScope((IContextChannel)serviceProxy))
MessageInspectorTestHelpers.cs (1)
53using (new OperationContextScope((IContextChannel)base.InnerChannel))
SessionTests.cs (3)
249var c = OperationContext.Current.Channel; 519var ctxChannel = (IContextChannel)s_channel;
Contract.XmlSerializer.IntegrationTests (1)
XmlSerializerFormatTest.4.1.0.cs (1)
82using (OperationContextScope scope = new OperationContextScope((IContextChannel)serviceProxy))
dotnet-svcutil.xmlserializer.IntegrationTests (1)
src\System.Private.ServiceModel\tests\Scenarios\Contract\XmlSerializer\XmlSerializerFormatTest.4.1.0.cs (1)
82using (OperationContextScope scope = new OperationContextScope((IContextChannel)serviceProxy))
Security.TransportSecurity.IntegrationTests (4)
Http\ClientCredentialTypeTests.4.1.0.cs (2)
43using (var scope = new OperationContextScope((IContextChannel)serviceProxy)) 104using (var scope = new OperationContextScope((IContextChannel)serviceProxy))
Https\ClientCredentialTypeTests.4.1.0.cs (2)
58using (var scope = new OperationContextScope((IContextChannel)serviceProxy)) 133using (var scope = new OperationContextScope((IContextChannel)serviceProxy))
System.ServiceModel.Primitives (60)
System\ServiceModel\Channels\ServiceChannel.cs (9)
37private ExtensionCollection<IContextChannel> _extensions; 1399bool IContextChannel.AllowOutputBatching 1441IExtensionCollection<IContextChannel> IExtensibleObject<IContextChannel>.Extensions 1449_extensions = new ExtensionCollection<IContextChannel>((IContextChannel)Proxy, ThisLock); 1479IInputSession IContextChannel.InputSession 1502IOutputSession IContextChannel.OutputSession 1525string IContextChannel.SessionId
System\ServiceModel\Channels\ServiceChannelProxy.cs (21)
681bool IContextChannel.AllowOutputBatching 685return ((IContextChannel)_serviceChannel).AllowOutputBatching; 689((IContextChannel)_serviceChannel).AllowOutputBatching = value; 693IInputSession IContextChannel.InputSession 695get { return ((IContextChannel)_serviceChannel).InputSession; } 698EndpointAddress IContextChannel.LocalAddress 700get { return ((IContextChannel)_serviceChannel).LocalAddress; } 703TimeSpan IContextChannel.OperationTimeout 707return ((IContextChannel)_serviceChannel).OperationTimeout; 711((IContextChannel)_serviceChannel).OperationTimeout = value; 715IOutputSession IContextChannel.OutputSession 717get { return ((IContextChannel)_serviceChannel).OutputSession; } 722get { return ((IContextChannel)_serviceChannel).RemoteAddress; } 730EndpointAddress IContextChannel.RemoteAddress 732get { return ((IContextChannel)_serviceChannel).RemoteAddress; } 735string IContextChannel.SessionId 737get { return ((IContextChannel)_serviceChannel).SessionId; } 740IExtensionCollection<IContextChannel> IExtensibleObject<IContextChannel>.Extensions 742get { return ((IContextChannel)_serviceChannel).Extensions; } 812get { return ((IContextChannel)_serviceChannel).RemoteAddress; }
System\ServiceModel\ClientBase.cs (19)
996bool IContextChannel.AllowOutputBatching 998get { return ((IContextChannel)_channel).AllowOutputBatching; } 999set { ((IContextChannel)_channel).AllowOutputBatching = value; } 1002IInputSession IContextChannel.InputSession 1004get { return ((IContextChannel)_channel).InputSession; } 1007EndpointAddress IContextChannel.LocalAddress 1009get { return ((IContextChannel)_channel).LocalAddress; } 1012TimeSpan IContextChannel.OperationTimeout 1014get { return ((IContextChannel)_channel).OperationTimeout; } 1015set { ((IContextChannel)_channel).OperationTimeout = value; } 1018IOutputSession IContextChannel.OutputSession 1020get { return ((IContextChannel)_channel).OutputSession; } 1023EndpointAddress IContextChannel.RemoteAddress 1025get { return ((IContextChannel)_channel).RemoteAddress; } 1028string IContextChannel.SessionId 1030get { return ((IContextChannel)_channel).SessionId; } 1128IExtensionCollection<IContextChannel> IExtensibleObject<IContextChannel>.Extensions 1130get { return ((IExtensibleObject<IContextChannel>)_channel).Extensions; }
System\ServiceModel\Dispatcher\ChannelHandler.cs (2)
1168IContextChannel transparentProxy = _requestInfo.Channel.Proxy as IContextChannel;
System\ServiceModel\Dispatcher\IInstanceContextProvider.cs (1)
12InstanceContext GetExistingInstanceContext(Message message, IContextChannel channel);
System\ServiceModel\Dispatcher\InstanceContextProviderBase.cs (2)
40public abstract InstanceContext GetExistingInstanceContext(Message message, IContextChannel channel); 42internal ServiceChannel GetServiceChannelFromProxy(IContextChannel channel)
System\ServiceModel\Dispatcher\PerSessionInstanceContextProvider.cs (1)
18public override InstanceContext GetExistingInstanceContext(Message message, IContextChannel channel)
System\ServiceModel\IContextChannel.cs (1)
10public interface IContextChannel : IChannel, IExtensibleObject<IContextChannel>
System\ServiceModel\OperationContext.cs (3)
41public OperationContext(IContextChannel channel) 85public IContextChannel Channel 87get { return GetCallbackChannel<IContextChannel>(); }
System\ServiceModel\OperationContextScope.cs (1)
27public OperationContextScope(IContextChannel channel)