1 implementation of IClientChannel
System.ServiceModel.Primitives (1)
netstandard.cs (1)
507protected partial class ChannelBase<T> : System.IDisposable, System.ServiceModel.Channels.IChannel, System.ServiceModel.Channels.IOutputChannel, System.ServiceModel.Channels.IRequestChannel, System.ServiceModel.IClientChannel, System.ServiceModel.ICommunicationObject, System.ServiceModel.IContextChannel, System.ServiceModel.IExtensibleObject<System.ServiceModel.IContextChannel> where T : class
69 references to IClientChannel
Binding.Http.IntegrationTests (2)
OperationContextTests.cs (2)
43((IClientChannel)serviceProxy).Open(); 53((IClientChannel)serviceProxy).Close();
Binding.ReliableSession.IntegrationTests (24)
NetHttpBindingTests.cs (9)
40((IClientChannel)serviceProxy).Open(); // This will establish a reliable session 46((IClientChannel)serviceProxy).Close(); 78((IClientChannel)serviceProxy).Open(); // This will establish a reliable session 83((IClientChannel)serviceProxy).Close(); 148((IClientChannel)serviceProxy).Open(); // This will establish a reliable session 166((IClientChannel)serviceProxy).Close(); 225((IClientChannel)serviceProxy).Open(); // This will establish a reliable session 305((IClientChannel)serviceProxy).Open(); // This will establish a reliable session 377((IClientChannel)serviceProxy).Open(); // This will establish a reliable session
NetTcpBindingTests.cs (6)
35((IClientChannel)serviceProxy).Open(); // This will establish a reliable session 41((IClientChannel)serviceProxy).Close(); 72((IClientChannel)serviceProxy).Open(); // This will establish a reliable session 77((IClientChannel)serviceProxy).Close(); 110((IClientChannel)serviceProxy).Open(); // This will establish a reliable session 117((IClientChannel)serviceProxy).Close();
WSHttpBindingTests.cs (9)
40((IClientChannel)serviceProxy).Open(); // This will establish a reliable session 46((IClientChannel)serviceProxy).Close(); 78((IClientChannel)serviceProxy).Open(); // This will establish a reliable session 83((IClientChannel)serviceProxy).Close(); 148((IClientChannel)serviceProxy).Open(); // This will establish a reliable session 166((IClientChannel)serviceProxy).Close(); 225((IClientChannel)serviceProxy).Open(); // This will establish a reliable session 305((IClientChannel)serviceProxy).Open(); // This will establish a reliable session 377((IClientChannel)serviceProxy).Open(); // This will establish a reliable session
Binding.Tcp.IntegrationTests (3)
NetTcpBindingTests.4.0.0.cs (1)
143((IClientChannel)serviceProxy).Open();
OperationContextAsyncFlowTests.cs (2)
40((IClientChannel)serviceProxy).Close(); 86((IClientChannel)serviceProxy).Close();
Client.ClientBase.IntegrationTests (6)
ClientBaseTestHelpers.cs (3)
102public object BeforeSendRequest(ref Message request, IClientChannel channel) 157public object BeforeSendRequest(ref Message request, IClientChannel channel) 172public IClientChannel Channel { get; set; }
MessageInspectorTestHelpers.cs (1)
113public object BeforeSendRequest(ref Message request, IClientChannel channel)
SessionTests.cs (2)
68var sessionId1 = ((IClientChannel)channel1).SessionId; 69var sessionId2 = ((IClientChannel)channel2).SessionId;
Contract.Message.IntegrationTests (2)
MessageContractCommon.4.1.0.cs (1)
159public object BeforeSendRequest(ref System.ServiceModel.Channels.Message request, IClientChannel channel)
MessageContractTests.cs (1)
121public object BeforeSendRequest(ref System.ServiceModel.Channels.Message request, IClientChannel channel)
Contract.XmlSerializer.IntegrationTests (1)
XmlSerializerFormatTest.cs (1)
45public object BeforeSendRequest(ref Message request, IClientChannel channel)
dotnet-svcutil.xmlserializer.IntegrationTests (1)
src\System.Private.ServiceModel\tests\Scenarios\Contract\XmlSerializer\XmlSerializerFormatTest.cs (1)
45public object BeforeSendRequest(ref Message request, IClientChannel channel)
Microsoft.Svcutil.NamedPipeMetadataImporter (2)
NamedPipeMetadataImporter.cs (2)
63((IClientChannel)proxy).Close(); 69((IClientChannel)proxy).Abort();
System.ServiceModel (1)
netstandard.cs (1)
167[assembly: TypeForwardedTo(typeof(IClientChannel))]
System.ServiceModel.Primitives (12)
netstandard.cs (12)
482public System.ServiceModel.IClientChannel InnerChannel { get { return default; } } 514bool System.ServiceModel.IClientChannel.AllowInitializationUI { get { return default; } set { } } 515bool System.ServiceModel.IClientChannel.DidInteractiveInitialization { get { return default; } } 516System.Uri System.ServiceModel.IClientChannel.Via { get { return default; } } 526event System.EventHandler<System.ServiceModel.UnknownMessageReceivedEventArgs> System.ServiceModel.IClientChannel.UnknownMessageReceived { add { } remove { } } 547System.IAsyncResult System.ServiceModel.IClientChannel.BeginDisplayInitializationUI(System.AsyncCallback callback, object state) { return default; } 549void System.ServiceModel.IClientChannel.DisplayInitializationUI() { } 551void System.ServiceModel.IClientChannel.EndDisplayInitializationUI(System.IAsyncResult result) { } 2211void Initialize(IClientChannel channel); 2221object BeforeSendRequest(ref System.ServiceModel.Channels.Message request, System.ServiceModel.IClientChannel channel); 2225object AfterReceiveRequest(ref System.ServiceModel.Channels.Message request, IClientChannel channel, System.ServiceModel.InstanceContext instanceContext); 2235IAsyncResult BeginDisplayInitializationUI(IClientChannel channel, AsyncCallback callback, object state);
System.ServiceModel.Primitives.Tests (6)
Channels\BehaviorExtensionTest.cs (2)
41((IClientChannel)channel).Close(); 74((IClientChannel)channel).Close();
Channels\CustomChannelTest.cs (4)
571((IClientChannel)channel).DisplayInitializationUI(); 623Assert.Throws<InvalidOperationException>(() => ((IClientChannel)channel).Open()); 673((IClientChannel)channel).AllowInitializationUI = false; 676Assert.Throws<InvalidOperationException>(() => ((IClientChannel)channel).DisplayInitializationUI());
UnitTests.Common (9)
MockChannelInitializer.cs (3)
18public Action<IClientChannel> InitializeOverride { get; set; } 20public void Initialize(IClientChannel channel) 25public void DefaultInitialize(IClientChannel channel)
MockClientMessageInspector.cs (3)
12public delegate object BeforeSendRequestDelegate(ref Message request, IClientChannel channel); 78public object BeforeSendRequest(ref Message request, IClientChannel channel) 83public object DefaultBeforeSendRequest(ref Message request, IClientChannel channel)
MockInteractiveChannelInitializer.cs (3)
19public Func<IClientChannel, AsyncCallback, object, IAsyncResult> BeginDisplayInitializationUIOverride { get; set; } 22public IAsyncResult BeginDisplayInitializationUI(IClientChannel channel, AsyncCallback callback, object state) 27public IAsyncResult DefaultBeginDisplayInitializationUI(IClientChannel channel, AsyncCallback callback, object state)