Edit

Bagikan melalui


WorkflowServiceHost.OnClosing Method

Definition

This method is called before the WorkflowServiceHost is put into a closing state.

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

Remarks

In the default implementation, WorkflowServiceHost calls StopRuntime before calling CommunicationObject.OnClosing. This means the workflow runtime will shut down before the service host closes.

Applies to