Object. On Begin Close(TimeSpan, AsyncCallback, Object) 方法
在通訊物件因為叫用非同步關閉作業而轉換到關閉狀態後，插入處理。Inserts processing after a communication object transitions to the closing state due to the invocation of an asynchronous close operation.
protected: abstract IAsyncResult ^ OnBeginClose(TimeSpan timeout, AsyncCallback ^ callback, System::Object ^ state);
protected abstract IAsyncResult OnBeginClose (TimeSpan timeout, AsyncCallback callback, object state);
abstract member OnBeginClose : TimeSpan * AsyncCallback * obj -> IAsyncResult
Protected MustOverride Function OnBeginClose (timeout As TimeSpan, callback As AsyncCallback, state As Object) As IAsyncResult
應用程式所指定的物件，其中包含與非同步關閉作業相關的狀態資訊。An object, specified by the application, that contains state information associated with the asynchronous on close operation.
已超過為作業分配的預設時間間隔，該作業未完成。The default interval of time that was allotted for the operation was exceeded before the operation was completed.
若要在通訊物件因為叫用同步 Close 作業而轉換至關閉狀態後插入處理，請使用 OnClose(TimeSpan) 方法。To insert processing after a communication object transitions to a closing state due to the invocation of a synchronous Close operation, use the OnClose(TimeSpan) method.