Editar

Partilhar via


WorkflowControlClient.UnsuspendAsync Method

Definition

Begins an asynchronous unsuspend operation.

Overloads

UnsuspendAsync(Guid, Object)

Begins an asynchronous unsuspend operation with the specified user-defined state data.

UnsuspendAsync(Guid)

Begins an asynchronous unsuspend operation.

UnsuspendAsync(Guid, Object)

Begins an asynchronous unsuspend operation with the specified user-defined state data.

public:
 void UnsuspendAsync(Guid instanceId, System::Object ^ userState);
public void UnsuspendAsync (Guid instanceId, object userState);
member this.UnsuspendAsync : Guid * obj -> unit
Public Sub UnsuspendAsync (instanceId As Guid, userState As Object)

Parameters

instanceId
Guid

The workflow instance to unsuspend.

userState
Object

The user-defined state data.

Applies to

UnsuspendAsync(Guid)

Begins an asynchronous unsuspend operation.

public:
 void UnsuspendAsync(Guid instanceId);
public void UnsuspendAsync (Guid instanceId);
member this.UnsuspendAsync : Guid -> unit
Public Sub UnsuspendAsync (instanceId As Guid)

Parameters

instanceId
Guid

The workflow instance to unsuspend.

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 Unsuspend(Guid).

Applies to