Edit

Share via


WorkflowUpdateableControlClient.UnsuspendAsync Method

Definition

Begins an asynchronous unsuspend operation.

Overloads

UnsuspendAsync(Guid)

Begins an asynchronous unsuspend operation.

UnsuspendAsync(Guid, Object)

Begins an asynchronous unsuspend operation.

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

UnsuspendAsync(Guid, Object)

Begins an asynchronous unsuspend operation.

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

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

Applies to