WorkflowServiceHost.OnClosing Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Cette méthode est appelée avant l’entrée WorkflowServiceHost dans un état fermant.
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 les appels StopRuntime avant d’appeler CommunicationObject.OnClosing. Cela signifie que le runtime de workflow s’arrête avant la fermeture de l’hôte de service.