WorkflowServiceHost.OnClosing 方法

定義

在將 WorkflowServiceHost 置入關閉狀態前,會呼叫此方法。

protected:
 override void OnClosing();
protected override void OnClosing ();
override this.OnClosing : unit -> unit
Protected Overrides Sub OnClosing ()

備註

在預設實作中,呼叫 WorkflowServiceHost 前,StopRuntime 會先呼叫 CommunicationObject.OnClosing。 這表示服務主機關閉前,會先關閉工作流程執行階段。

適用於