WorkflowInstance.Start 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.
Démarre l’exécution de l’instance de workflow.
public:
void Start();
public void Start();
member this.Start : unit -> unit
Public Sub Start ()
Exceptions
Le moteur d’exécution de workflow n’est pas en cours d’exécution.
- ou -
L’instance de flux de travail a déjà été démarrée.
Remarques
Start appelle ExecuteActivity l’activité racine de cette instance de workflow. Si Start elle rencontre une exception, elle met fin à l’instance de workflow en appelant Terminate avec la Message propriété de l’exception passée comme raison de l’arrêt.