IAsyncCommunicationObject 接口

定义

public interface class IAsyncCommunicationObject : System::ServiceModel::ICommunicationObject
public interface IAsyncCommunicationObject : System.ServiceModel.ICommunicationObject
type IAsyncCommunicationObject = interface
    interface ICommunicationObject
Public Interface IAsyncCommunicationObject
Implements ICommunicationObject
派生
实现

属性

State

获取面向通信的对象的当前状态。

(继承自 ICommunicationObject)

方法

Abort()

使通信对象立即从其当前状态转换为关闭状态。

(继承自 ICommunicationObject)
BeginClose(AsyncCallback, Object)

开始异步操作以关闭通信对象。

(继承自 ICommunicationObject)
BeginClose(TimeSpan, AsyncCallback, Object)

开始异步操作以关闭具有指定超时的通信对象。

(继承自 ICommunicationObject)
BeginOpen(AsyncCallback, Object)

开始异步操作以打开通信对象。

(继承自 ICommunicationObject)
BeginOpen(TimeSpan, AsyncCallback, Object)

开始一个异步操作,以在指定的时间间隔内打开通信对象。

(继承自 ICommunicationObject)
Close()

使通信对象从其当前状态转换为关闭状态。

(继承自 ICommunicationObject)
Close(TimeSpan)

使通信对象从其当前状态转换为关闭状态。

(继承自 ICommunicationObject)
CloseAsync(TimeSpan)
EndClose(IAsyncResult)

完成异步操作以关闭通信对象。

(继承自 ICommunicationObject)
EndOpen(IAsyncResult)

完成异步操作以打开通信对象。

(继承自 ICommunicationObject)
Open()

使通信对象从创建的状态转换为打开状态。

(继承自 ICommunicationObject)
Open(TimeSpan)

使通信对象在指定的时间间隔内从创建的状态转换为打开状态。

(继承自 ICommunicationObject)
OpenAsync(TimeSpan)

事件

Closed

当通信对象完成从结束状态到关闭状态的转换时发生。

(继承自 ICommunicationObject)
Closing

通信对象首次进入结束状态时发生。

(继承自 ICommunicationObject)
Faulted

通信对象首次进入错误状态时发生。

(继承自 ICommunicationObject)
Opened

当通信对象完成从打开状态到打开状态的转换时发生。

(继承自 ICommunicationObject)
Opening

通信对象首次进入打开状态时发生。

(继承自 ICommunicationObject)

扩展方法

CloseHelperAsync(ICommunicationObject, TimeSpan)
OpenHelperAsync(ICommunicationObject, TimeSpan)

适用于