WorkflowUpdateableControlClient.UpdateAsync Method

Definition

Begins an asynchronous update operation.

Overloads

UpdateAsync(Guid, WorkflowIdentity)

Begins an asynchronous update operation.

UpdateAsync(Guid, WorkflowIdentity, Object)

Begins an asynchronous update operation.

UpdateAsync(Guid, WorkflowIdentity)

Begins an asynchronous update operation.

public void UpdateAsync(Guid instanceId, System.Activities.WorkflowIdentity updatedDefinitionIdentity);

Parameters

instanceId
Guid

The workflow instance to update.

updatedDefinitionIdentity
WorkflowIdentity

The updated workflow identity.

Remarks

This method stores in the task it returns all non-usage exceptions that the method's synchronous counterpart can throw. If an exception is stored into the returned task, that exception will be thrown when the task is awaited. Usage exceptions, such as ArgumentException, are still thrown synchronously. For the stored exceptions, see the exceptions thrown by Update(Guid, WorkflowIdentity).

Applies to

.NET Framework 4.8.1 e outras versões
Produto Versões
.NET Framework 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

UpdateAsync(Guid, WorkflowIdentity, Object)

Begins an asynchronous update operation.

public void UpdateAsync(Guid instanceId, System.Activities.WorkflowIdentity updatedDefinitionIdentity, object userState);

Parameters

instanceId
Guid

The workflow instance to update.

updatedDefinitionIdentity
WorkflowIdentity

The updated workflow identity.

userState
Object

A user-defined object that contains state information associated with the asynchronous update operation.

Applies to

.NET Framework 4.8.1 e outras versões
Produto Versões
.NET Framework 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1