ServiceHostBase.OnEndClose(IAsyncResult) 方法

定義

完成關閉服務主機時所叫用的非同步作業。Completes an asynchronous operation invoked on the closing of the service host.

protected:
 override void OnEndClose(IAsyncResult ^ result);
protected override void OnEndClose (IAsyncResult result);
override this.OnEndClose : IAsyncResult -> unit
Protected Overrides Sub OnEndClose (result As IAsyncResult)

參數

result
IAsyncResult

IAsyncResult 方法的呼叫所傳回的 OnBeginClose(TimeSpan, AsyncCallback, Object)The IAsyncResult returned by a call to the OnBeginClose(TimeSpan, AsyncCallback, Object) method.

適用於