ClientBase<TChannel>.ICommunicationObject.BeginOpen 方法

定義

開始非同步作業以開啟 ClientBase<TChannel> 物件。

多載

ICommunicationObject.BeginOpen(TimeSpan, AsyncCallback, Object)

開始非同步作業以在指定的時間間隔內開啟 ClientBase<TChannel> 物件。

ICommunicationObject.BeginOpen(AsyncCallback, Object)

開始非同步作業以開啟 ClientBase<TChannel> 物件。

ICommunicationObject.BeginOpen(TimeSpan, AsyncCallback, Object)

來源:
ClientBase.cs
來源:
ClientBase.cs
來源:
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)

來源:
ClientBase.cs
來源:
ClientBase.cs
來源:
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

適用於