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