WorkflowUpdateableControlClient.UpdateAsync 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.
Commence une opération de mise à jour asynchrone.
Surcharges
| Nom | Description |
|---|---|
| UpdateAsync(Guid, WorkflowIdentity) |
Commence une opération de mise à jour asynchrone. |
| UpdateAsync(Guid, WorkflowIdentity, Object) |
Commence une opération de mise à jour asynchrone. |
UpdateAsync(Guid, WorkflowIdentity)
Commence une opération de mise à jour asynchrone.
public:
void UpdateAsync(Guid instanceId, System::Activities::WorkflowIdentity ^ updatedDefinitionIdentity);
public void UpdateAsync(Guid instanceId, System.Activities.WorkflowIdentity updatedDefinitionIdentity);
member this.UpdateAsync : Guid * System.Activities.WorkflowIdentity -> unit
Public Sub UpdateAsync (instanceId As Guid, updatedDefinitionIdentity As WorkflowIdentity)
Paramètres
- instanceId
- Guid
Instance de flux de travail à mettre à jour.
- updatedDefinitionIdentity
- WorkflowIdentity
Identité de flux de travail mise à jour.
Remarques
Cette méthode stocke dans la tâche toutes les exceptions non-utilisation que l’équivalent synchrone de la méthode peut lever. Si une exception est stockée dans la tâche retournée, cette exception est levée lorsque la tâche est attendue. Les exceptions d’utilisation, telles que ArgumentException, sont toujours levées de façon synchrone. Pour les exceptions stockées, consultez les exceptions levées par Update(Guid, WorkflowIdentity).
S’applique à
UpdateAsync(Guid, WorkflowIdentity, Object)
Commence une opération de mise à jour asynchrone.
public:
void UpdateAsync(Guid instanceId, System::Activities::WorkflowIdentity ^ updatedDefinitionIdentity, System::Object ^ userState);
public void UpdateAsync(Guid instanceId, System.Activities.WorkflowIdentity updatedDefinitionIdentity, object userState);
member this.UpdateAsync : Guid * System.Activities.WorkflowIdentity * obj -> unit
Public Sub UpdateAsync (instanceId As Guid, updatedDefinitionIdentity As WorkflowIdentity, userState As Object)
Paramètres
- instanceId
- Guid
Instance de flux de travail à mettre à jour.
- updatedDefinitionIdentity
- WorkflowIdentity
Identité de flux de travail mise à jour.
- userState
- Object
Objet défini par l’utilisateur qui contient des informations d’état associées à l’opération de mise à jour asynchrone.