AnnouncementClient.ICommunicationObject.BeginOpen 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
开始一个异步操作以打开通信对象。
重载
ICommunicationObject.BeginOpen(AsyncCallback, Object) |
开始一个异步操作以打开通信对象。 |
ICommunicationObject.BeginOpen(TimeSpan, AsyncCallback, Object) |
开始一个异步操作以在指定时间间隔内打开通信对象。 |
ICommunicationObject.BeginOpen(AsyncCallback, Object)
开始一个异步操作以打开通信对象。
virtual IAsyncResult ^ System.ServiceModel.ICommunicationObject.BeginOpen(AsyncCallback ^ callback, System::Object ^ state) = System::ServiceModel::ICommunicationObject::BeginOpen;
IAsyncResult ICommunicationObject.BeginOpen (AsyncCallback callback, object state);
abstract member System.ServiceModel.ICommunicationObject.BeginOpen : AsyncCallback * obj -> IAsyncResult
override this.System.ServiceModel.ICommunicationObject.BeginOpen : AsyncCallback * obj -> IAsyncResult
Function BeginOpen (callback As AsyncCallback, state As Object) As IAsyncResult Implements ICommunicationObject.BeginOpen
参数
- callback
- AsyncCallback
接收异步打开操作完成通知的 AsyncCallback 委托。
- state
- Object
一个由应用程序指定的对象,它包含与异步打开操作相关联的状态信息。
返回
引用异步打开操作的 IAsyncResult。
实现
适用于
ICommunicationObject.BeginOpen(TimeSpan, AsyncCallback, Object)
开始一个异步操作以在指定时间间隔内打开通信对象。
virtual IAsyncResult ^ System.ServiceModel.ICommunicationObject.BeginOpen(TimeSpan timeout, AsyncCallback ^ callback, System::Object ^ state) = System::ServiceModel::ICommunicationObject::BeginOpen;
IAsyncResult ICommunicationObject.BeginOpen (TimeSpan timeout, AsyncCallback callback, object state);
abstract member System.ServiceModel.ICommunicationObject.BeginOpen : TimeSpan * AsyncCallback * obj -> IAsyncResult
override this.System.ServiceModel.ICommunicationObject.BeginOpen : TimeSpan * AsyncCallback * obj -> IAsyncResult
Function BeginOpen (timeout As TimeSpan, callback As AsyncCallback, state As Object) As IAsyncResult Implements ICommunicationObject.BeginOpen
参数
- callback
- AsyncCallback
接收异步打开操作完成通知的 AsyncCallback 委托。
- state
- Object
一个由应用程序指定的对象,它包含与异步打开操作相关联的状态信息。
返回
引用异步打开操作的 IAsyncResult。