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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET