共用方式為


ServiceHostBase.OnEndClose(IAsyncResult) 方法

定義

完成關閉服務主機時所叫用的非同步作業。

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)

適用於