IDurableOrchestrationClient.SuspendAsync(String, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collabora con noi su GitHub
L'origine di questo contenuto è disponibile in GitHub, in cui è anche possibile creare ed esaminare i problemi e le richieste pull. Per ulteriori informazioni, vedere la guida per i collaboratori.