WorkflowServiceHost.OnClosing 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
此方法在 進入閉合狀態前 WorkflowServiceHost 被呼叫。
protected:
override void OnClosing();
protected override void OnClosing();
override this.OnClosing : unit -> unit
Protected Overrides Sub OnClosing ()
備註
在預設實作中, WorkflowServiceHost 先呼叫 StopRuntime 再呼叫 CommunicationObject.OnClosing。 這表示工作流程執行時會在服務主機關閉前關閉。