Condividi tramite


IDurableOrchestrationClient.SuspendAsync(String, String) Method

Definition

Suspends a running orchestration instance.

public System.Threading.Tasks.Task SuspendAsync (string instanceId, string reason);
abstract member SuspendAsync : string * string -> System.Threading.Tasks.Task
Public Function SuspendAsync (instanceId As String, reason As String) As Task

Parameters

instanceId
String

The ID of the orchestration instance to suspend.

reason
String

The reason for suspending the orchestration instance.

Returns

A task that completes when the suspend message is enqueued if necessary.

Applies to