GrpcDurableTaskClient.ResumeInstanceAsync 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.
Resumes an orchestration instance that was suspended via SuspendInstanceAsync(String, String, CancellationToken).
public override System.Threading.Tasks.Task ResumeInstanceAsync (string instanceId, string? reason = default, System.Threading.CancellationToken cancellation = default);
override this.ResumeInstanceAsync : string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Overrides Function ResumeInstanceAsync (instanceId As String, Optional reason As String = Nothing, Optional cancellation As CancellationToken = Nothing) As Task
Parameters
- instanceId
- String
The instance ID of the orchestration to resume.
- reason
- String
The optional resume reason.
- cancellation
- CancellationToken
A CancellationToken that can be used to cancel the resume operation. Note, cancelling this token does not re-suspend the orchestration if resume was successful.
Returns
A task that completes when the resume has been committed to the backend.