DurableTaskClient.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.
Overloads
ResumeInstanceAsync(String, String, CancellationToken) |
Resumes an orchestration instance that was suspended via SuspendInstanceAsync(String, String, CancellationToken). |
ResumeInstanceAsync(String, CancellationToken) |
Resumes an orchestration instance that was suspended via SuspendInstanceAsync(String, String, CancellationToken). |
ResumeInstanceAsync(String, String, CancellationToken)
Resumes an orchestration instance that was suspended via SuspendInstanceAsync(String, String, CancellationToken).
public abstract System.Threading.Tasks.Task ResumeInstanceAsync (string instanceId, string? reason = default, System.Threading.CancellationToken cancellation = default);
abstract member ResumeInstanceAsync : string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public MustOverride 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.
Applies to
ResumeInstanceAsync(String, CancellationToken)
Resumes an orchestration instance that was suspended via SuspendInstanceAsync(String, String, CancellationToken).
public virtual System.Threading.Tasks.Task ResumeInstanceAsync (string instanceId, System.Threading.CancellationToken cancellation);
abstract member ResumeInstanceAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.ResumeInstanceAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Overridable Function ResumeInstanceAsync (instanceId As String, cancellation As CancellationToken) As Task
Parameters
- instanceId
- String
The instance ID of the orchestration to resume.
- 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.