WorkflowServiceHost.OnClosing Méthode

Définition

Cette méthode est appelée avant que WorkflowServiceHost n'affiche un état de fermeture.

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

Remarques

Dans l'implémentation par défaut, WorkflowServiceHost appelle StopRuntime avant d'appeler CommunicationObject.OnClosing, c'est-à-dire que l'exécution de workflow va s'arrêter avant l'hôte de service.

S’applique à