共用方式為


IDurableOrchestrationClient.RewindAsync(String, String) Method

Definition

Caution

This feature is in preview.

Rewinds the specified failed orchestration instance with a reason.

[System.Obsolete("This feature is in preview.")]
public System.Threading.Tasks.Task RewindAsync (string instanceId, string reason);
[<System.Obsolete("This feature is in preview.")>]
abstract member RewindAsync : string * string -> System.Threading.Tasks.Task
Public Function RewindAsync (instanceId As String, reason As String) As Task

Parameters

instanceId
String

The ID of the orchestration instance to rewind.

reason
String

The reason for rewinding the orchestration instance.

Returns

A task that completes when the rewind message is enqueued.

Attributes

Applies to