Share via


DurabilityProvider.RewindAsync(String, String) Method

Definition

Rewinds the specified failed orchestration instance with a reason.

public virtual System.Threading.Tasks.Task RewindAsync (string instanceId, string reason);
abstract member RewindAsync : string * string -> System.Threading.Tasks.Task
override this.RewindAsync : string * string -> System.Threading.Tasks.Task
Public Overridable 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.

Applies to