ClientBase<TChannel>.ICommunicationObject.BeginOpen 方法

定义

开始一个打开 ClientBase<TChannel> 对象的异步操作。

重载

ICommunicationObject.BeginOpen(TimeSpan, AsyncCallback, Object)

开始一个在指定时间间隔内打开 ClientBase<TChannel> 对象的异步操作。

ICommunicationObject.BeginOpen(AsyncCallback, Object)

开始一个打开 ClientBase<TChannel> 对象的异步操作。

ICommunicationObject.BeginOpen(TimeSpan, AsyncCallback, Object)

Source:
ClientBase.cs
Source:
ClientBase.cs

开始一个在指定时间间隔内打开 ClientBase<TChannel> 对象的异步操作。

 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

参数

timeout
TimeSpan

必须在其中完成调用的时间段。

callback
AsyncCallback

完成时接收回调的方法。

state
Object

状态数据。

返回

引用异步打开操作的 IAsyncResult

实现

注解

有关详细信息,请参阅 System.ServiceModel.Channels.CommunicationObject

适用于

ICommunicationObject.BeginOpen(AsyncCallback, Object)

Source:
ClientBase.cs
Source:
ClientBase.cs

开始一个打开 ClientBase<TChannel> 对象的异步操作。

 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

完成时接收回调的方法。

state
Object

状态数据。

返回

引用异步打开操作的 IAsyncResult

实现

注解

有关详细信息,请参阅 System.ServiceModel.Channels.CommunicationObject

适用于