InstanceContext.OnBeginClose(TimeSpan, AsyncCallback, Object) 方法

定義

在通訊物件因為叫用非同步關閉作業而轉換到關閉狀態後,插入處理。

protected:
 override IAsyncResult ^ OnBeginClose(TimeSpan timeout, AsyncCallback ^ callback, System::Object ^ state);
protected override IAsyncResult OnBeginClose (TimeSpan timeout, AsyncCallback callback, object state);
override this.OnBeginClose : TimeSpan * AsyncCallback * obj -> IAsyncResult
Protected Overrides Function OnBeginClose (timeout As TimeSpan, callback As AsyncCallback, state As Object) As IAsyncResult

參數

timeout
TimeSpan
callback
AsyncCallback
state
Object

傳回

IAsyncResult

適用於