5 interfaces inheriting from IChannel
System.ServiceModel.Primitives (5)
System\ServiceModel\Channels\IInputChannel.cs (1)
10public interface IInputChannel : IChannel
System\ServiceModel\Channels\IOutputChannel.cs (1)
10public interface IOutputChannel : IChannel
System\ServiceModel\Channels\IReplyChannel.cs (1)
8public interface IReplyChannel : IChannel
System\ServiceModel\Channels\IRequestChannel.cs (1)
10public interface IRequestChannel : IChannel
System\ServiceModel\IContextChannel.cs (1)
10public interface IContextChannel : IChannel, IExtensibleObject<IContextChannel>
4 implementations of IChannel
System.ServiceModel.Federation (1)
System\ServiceModel\Federation\WSTrustChannel.cs (1)
17public class WSTrustChannel : IWSTrustChannelContract, IChannel, ICommunicationObject
System.ServiceModel.Primitives (3)
System\ServiceModel\Channels\ChannelBase.cs (1)
9public abstract class ChannelBase : CommunicationObject, IChannel, IDefaultCommunicationTimeouts
System\ServiceModel\Channels\ServiceChannel.cs (1)
23internal sealed class ServiceChannel : CommunicationObject, IChannel, IClientChannel, IDuplexContextChannel, IOutputChannel, IRequestChannel, IServiceChannel, IAsyncDisposable
System\ServiceModel\Channels\ServiceChannelProxy.cs (1)
18public class ServiceChannelProxy : DispatchProxy, ICommunicationObject, IChannel, IClientChannel, IOutputChannel, IRequestChannel, IServiceChannel, IDuplexContextChannel, IAsyncDisposable
136 references to IChannel
Binding.UDS.IntegrationTests (14)
UDSBindingTests.cs (14)
47((IChannel)serviceProxy).Open(); 50((IChannel)serviceProxy).Close(); 55ServiceHelper.CloseServiceModelObjects((IChannel)serviceProxy, factory); 82((IChannel)channel).Open(); 85((IChannel)channel).Close(); 90ServiceHelper.CloseServiceModelObjects((IChannel)channel, factory); 129((IChannel)channel).Open(); 132((IChannel)channel).Close(); 137ServiceHelper.CloseServiceModelObjects((IChannel)channel, factory); 162((IChannel)channel).Open(); 165((IChannel)channel).Close(); 170ServiceHelper.CloseServiceModelObjects((IChannel)channel, factory); 197Assert.Throws<EndpointNotFoundException>(() => ((IChannel)serviceProxy).Open()); 201ServiceHelper.CloseServiceModelObjects((IChannel)serviceProxy, factory);
Client.ClientBase.IntegrationTests (2)
ClientBaseTests.4.1.0.cs (2)
29IHttpCookieContainerManager cookieManager = ((IChannel)serviceProxy).GetProperty<IHttpCookieContainerManager>(); 72IHttpCookieContainerManager cookieManager = ((IChannel)serviceProxy).GetProperty<IHttpCookieContainerManager>();
Extensibility.MessageInterceptor.IntegrationTests (1)
InterceptingChannelBase.cs (1)
13where TChannel : class, IChannel
System.ServiceModel.Federation (2)
System\ServiceModel\Federation\WSTrustChannelFactory.cs (2)
45/// <returns>A <see cref="IChannel"/> that can be used to send an Issue request to a STS.</returns> 57/// <returns>A <see cref="IChannel"/> that can be used to send an Issue request to a STS.</returns>
System.ServiceModel.Primitives (112)
System\ServiceModel\Channels\ChannelFactoryBase.cs (10)
95private CommunicationObjectManager<IChannel> _channels; 105_channels = new CommunicationObjectManager<IChannel>(ThisLock); 142_channels.Add((IChannel)(object)channel); 149((IChannel)(object)channel).Abort(); 169IChannel[] currentChannels = _channels.ToArray(); 170foreach (IChannel channel in currentChannels) 180IChannel[] currentChannels = _channels.ToArray(); 182foreach (IChannel channel in currentChannels) 207IChannel[] currentChannels = _channels.ToArray(); 209foreach (IChannel channel in currentChannels)
System\ServiceModel\Channels\ChannelParameterCollection.cs (6)
12private IChannel _channel; 18public ChannelParameterCollection(IChannel channel) 23protected virtual IChannel Channel 28public void PropagateChannelParameters(IChannel innerChannel) 73IChannel channel = Channel; 108IChannel channel = Channel;
System\ServiceModel\Channels\ClientReliableChannelBinder.cs (1)
14where TChannel : class, IChannel
System\ServiceModel\Channels\IChannelAcceptor.cs (1)
9where TChannel : class, IChannel
System\ServiceModel\Channels\IChannelListener.cs (1)
20where TChannel : class, IChannel
System\ServiceModel\Channels\IReliableChannelBinder.cs (1)
13IChannel Channel { get; }
System\ServiceModel\Channels\LateBoundChannelParameterCollection.cs (3)
9private IChannel _channel; 11protected override IChannel Channel 16internal void SetChannel(IChannel channel)
System\ServiceModel\Channels\LayeredChannel.cs (1)
12where TInnerChannel : class, IChannel
System\ServiceModel\Channels\ReliableChannelBinder.cs (2)
28where TChannel : class, IChannel 66public IChannel Channel
System\ServiceModel\Channels\ReliableChannelFactory.cs (1)
10internal class ReliableChannelFactory<TChannel, InnerChannel> : ChannelFactoryBase<TChannel>, IReliableFactorySettings where InnerChannel : class, IChannel
System\ServiceModel\Channels\ReliableMessagingHelpers.cs (1)
1817ReliableMessagingVersion reliableMessagingVersion, Message message, IChannel innerChannel)
System\ServiceModel\Channels\SecurityChannelFactory.cs (1)
247where UChannel : class, IChannel
System\ServiceModel\Channels\SecurityChannelFaultConverter.cs (2)
10private IChannel _innerChannel; 12internal SecurityChannelFaultConverter(IChannel innerChannel)
System\ServiceModel\Channels\ServiceChannel.cs (6)
56IChannel innerChannel = binder.Channel; 223internal IChannel InnerChannel 517IChannel innerChannel = InnerChannel; 1370InstanceContext.OutgoingChannels.Remove((IChannel)_proxy); 1466InstanceContext.OutgoingChannels.Remove((IChannel)_proxy); 1473InstanceContext.OutgoingChannels.Add((IChannel)_proxy);
System\ServiceModel\Channels\ServiceChannelFactory.cs (8)
17private List<IChannel> _channelsList; 26_channelsList = new List<IChannel>(); 222IChannel channel = null; 247IChannel channel; 292public void ChannelCreated(IChannel channel) 301public void ChannelDisposed(IChannel channel) 401IChannel channel; 420where TChannel : class, IChannel
System\ServiceModel\Channels\ServiceChannelProxy.cs (1)
533T IChannel.GetProperty<T>()
System\ServiceModel\Channels\WsrmMessageInfo.cs (2)
120ReliableMessagingVersion reliableMessagingVersion, IChannel channel, ISession session, Message message) 126ReliableMessagingVersion reliableMessagingVersion, IChannel channel, ISession session, Message message,
System\ServiceModel\ClientBase.cs (6)
247IChannel channel = (IChannel)_channel; 307IChannel channel = (IChannel)_channel; 1033TProperty IChannel.GetProperty<TProperty>() 1035return ((IChannel)_channel).GetProperty<TProperty>();
System\ServiceModel\Dispatcher\BufferedReceiveBinder.cs (1)
27public IChannel Channel
System\ServiceModel\Dispatcher\ChannelDispatcher.cs (4)
47Channels = new CommunicationObjectManager<IChannel>(ThisLock); 48PendingChannels = new SynchronizedChannelCollection<IChannel>(ThisLock); 91internal CommunicationObjectManager<IChannel> Channels { get; private set; } 178internal SynchronizedChannelCollection<IChannel> PendingChannels { get; private set; }
System\ServiceModel\Dispatcher\ChannelHandler.cs (1)
487((IChannel)channel).Open();
System\ServiceModel\Dispatcher\DuplexChannelBinder.cs (1)
56public IChannel Channel
System\ServiceModel\Dispatcher\IChannelBinder.cs (1)
12IChannel Channel { get; }
System\ServiceModel\Dispatcher\ImmutableDispatchRuntime.cs (2)
322IChannel proxy = rpc.Channel.Proxy as IChannel;
System\ServiceModel\Dispatcher\InputChannelBinder.cs (1)
27public IChannel Channel
System\ServiceModel\Dispatcher\ListenerHandler.cs (9)
133IChannel[] channels = ChannelDispatcher.Channels.ToArray(); 140private async Task CloseChannelAsync(IChannel channel, TimeSpan timeout) 177IChannel[] channels = ChannelDispatcher.Channels.ToArray(); 180IChannel channel = channels[index]; 208IChannel[] channels = ChannelDispatcher.Channels.ToArray(); 294private bool IsSessionChannel(IChannel channel) 359private IChannel _channel; 361internal CloseChannelState(ListenerHandler listenerHandler, IChannel channel) 369internal IChannel Channel
System\ServiceModel\Dispatcher\OutputChannelBinder.cs (1)
26public IChannel Channel
System\ServiceModel\Dispatcher\ReplyChannelBinder.cs (1)
27public IChannel Channel
System\ServiceModel\Dispatcher\RequestChannelBinder.cs (1)
25public IChannel Channel
System\ServiceModel\Dispatcher\SynchronizedChannelCollection.cs (1)
12where TChannel : IChannel
System\ServiceModel\Dispatcher\TerminatingOperationBehavior.cs (2)
18((IChannel)state).Abort(); 60IChannel sessionChannel = rpc.Channel.Binder.Channel;
System\ServiceModel\InstanceContext.cs (2)
113public ICollection<IChannel> IncomingChannels 122public ICollection<IChannel> OutgoingChannels
System\ServiceModel\OperationContext.cs (1)
278IChannel inner = InternalServiceChannel.InnerChannel;
System\ServiceModel\Security\IssuanceTokenProviderBase.cs (1)
585private void Cleanup(IChannel rstChannel, T negotiationState)
System\ServiceModel\Security\SecurityChannel.cs (1)
14where TChannel : class, IChannel
System\ServiceModel\Security\SecuritySessionSecurityTokenProvider.cs (1)
483private void OnOperationFailure(SecuritySessionOperation operation, EndpointAddress target, SecurityToken currentToken, Exception e, IChannel channel)
System\ServiceModel\ServiceChannelManager.cs (26)
20private IChannel _firstIncomingChannel; 28public ICollection<IChannel> IncomingChannels 37public ICollection<IChannel> OutgoingChannels 56private void ChannelAdded(IChannel channel) 62private void ChannelRemoved(IChannel channel) 211IChannel[] channels = SnapshotChannels(); 269RemoveChannel((IChannel)sender); 272public bool RemoveChannel(IChannel channel) 297public IChannel[] SnapshotChannels() 305IChannel[] channels = new IChannel[1 + outgoingCount]; 317IChannel[] channels = new IChannel[_incomingChannels.Count + outgoingCount]; 329IChannel[] channels = new IChannel[outgoingCount]; 334return Array.Empty<IChannel>(); 337internal class ChannelCollection : ICollection<IChannel> 341private HashSet<IChannel> _hashSet = new HashSet<IChannel>(); 365public void Add(IChannel channel) 380foreach (IChannel channel in _hashSet) 389public bool Contains(IChannel channel) 401public void CopyTo(IChannel[] array, int arrayIndex) 409public bool Remove(IChannel channel) 434IEnumerator<IChannel> IEnumerable<IChannel>.GetEnumerator()
System.ServiceModel.Primitives.Tests (2)
ServiceModel\ChannelFactoryTest.cs (1)
256IHttpCookieContainerManager cookieManager = ((IChannel)serviceProxy).GetProperty<IHttpCookieContainerManager>();
ServiceModel\ThrowingChannelBase.cs (1)
11class ThrowingChannelBase<TChannel> : ChannelBase where TChannel : class, IChannel
UnitTests.Common (3)
MockChannelFactory.cs (3)
9public class MockChannelFactory<TChannel> : ChannelFactoryBase<TChannel>, IMockCommunicationObject where TChannel : IChannel 46public Func<EndpointAddress, Uri, IChannel> OnCreateChannelOverride { get; set; } 76public IChannel DefaultOnCreateChannel(EndpointAddress address, Uri via)