4 interfaces inheriting from IAsyncCommunicationObject
System.ServiceModel.Primitives (4)
System\ServiceModel\Channels\IAsyncChannelFactory.cs (1)
8public interface IAsyncChannelFactory : IChannelFactory, IAsyncCommunicationObject
System\ServiceModel\Channels\IInputChannel.cs (1)
29public interface IAsyncInputChannel : IInputChannel, IAsyncCommunicationObject
System\ServiceModel\Channels\IOutputChannel.cs (1)
21public interface IAsyncOutputChannel : IOutputChannel, IAsyncCommunicationObject
System\ServiceModel\Channels\IRequestChannel.cs (1)
24internal interface IAsyncRequestChannel : IRequestChannel, IAsyncCommunicationObject
2 implementations of IAsyncCommunicationObject
System.ServiceModel.Primitives (2)
System\ServiceModel\Channels\CommunicationObject.cs (1)
14public abstract class CommunicationObject : ICommunicationObject, IAsyncCommunicationObject
System\ServiceModel\Security\WrapperSecurityCommunicationObject.cs (1)
121internal abstract class CommunicationObjectSecurityTokenProvider : SecurityTokenProvider, IAsyncCommunicationObject, ISecurityCommunicationObject
26 references to IAsyncCommunicationObject
System.ServiceModel.Primitives (26)
Internals\System\Runtime\TaskHelpers.cs (4)
193if (communicationObject is IAsyncCommunicationObject) 195return ((IAsyncCommunicationObject)communicationObject).CloseAsync(timeout); 205if (communicationObject is IAsyncCommunicationObject) 207return ((IAsyncCommunicationObject)communicationObject).OpenAsync(timeout);
System\ServiceModel\ChannelFactory.cs (1)
152await ((IAsyncCommunicationObject)this).CloseAsync(DefaultCloseTimeout);
System\ServiceModel\Channels\CommunicationObject.cs (6)
226await ((IAsyncCommunicationObject)this).CloseAsync(timeout); 229async Task IAsyncCommunicationObject.CloseAsync(TimeSpan timeout) 503return ((IAsyncCommunicationObject)this).OpenAsync(timeout); 506async Task IAsyncCommunicationObject.OpenAsync(TimeSpan timeout) 1026return ((IAsyncCommunicationObject)communicationObject).OpenAsync(timeout); 1056return ((IAsyncCommunicationObject)communicationObject).CloseAsync(timeout);
System\ServiceModel\Channels\ServiceChannel.cs (1)
1615await ((IAsyncCommunicationObject)this).CloseAsync(DefaultCloseTimeout);
System\ServiceModel\Security\SecurityProtocol.cs (2)
292return ((IAsyncCommunicationObject)CommunicationObject).OpenAsync(timeout); 367return ((IAsyncCommunicationObject)CommunicationObject).CloseAsync(timeout);
System\ServiceModel\Security\SecurityProtocolFactory.cs (2)
514return ((IAsyncCommunicationObject)CommunicationObject).OpenAsync(timeout); 526return ((IAsyncCommunicationObject)CommunicationObject).CloseAsync(timeout);
System\ServiceModel\Security\SecuritySessionClientSettings.cs (2)
243return ((IAsyncCommunicationObject)_communicationObject).CloseAsync(timeout); 257return ((IAsyncCommunicationObject)_communicationObject).OpenAsync(timeout);
System\ServiceModel\Security\SecurityUtils.cs (6)
506var aco = tokenProvider as IAsyncCommunicationObject; 527var aco = tokenProvider as IAsyncCommunicationObject; 561private static Task OpenCommunicationObjectAsync(IAsyncCommunicationObject obj, TimeSpan timeout) 571private static Task CloseCommunicationObjectAsync(IAsyncCommunicationObject obj, bool aborted, TimeSpan timeout)
System\ServiceModel\Security\WrapperSecurityCommunicationObject.cs (2)
202return ((IAsyncCommunicationObject)CommunicationObject).CloseAsync(timeout); 232return ((IAsyncCommunicationObject)CommunicationObject).OpenAsync(timeout);