Share via


DurabilityProvider.GetOrchestrationStateWithInputsAsync Method

Definition

Gets the state of the specified orchestration instance.

public virtual System.Threading.Tasks.Task<System.Collections.Generic.IList<DurableTask.Core.OrchestrationState>> GetOrchestrationStateWithInputsAsync (string instanceId, bool showInput = true);
abstract member GetOrchestrationStateWithInputsAsync : string * bool -> System.Threading.Tasks.Task<System.Collections.Generic.IList<DurableTask.Core.OrchestrationState>>
override this.GetOrchestrationStateWithInputsAsync : string * bool -> System.Threading.Tasks.Task<System.Collections.Generic.IList<DurableTask.Core.OrchestrationState>>
Public Overridable Function GetOrchestrationStateWithInputsAsync (instanceId As String, Optional showInput As Boolean = true) As Task(Of IList(Of OrchestrationState))

Parameters

instanceId
String

The ID of the orchestration instance to query.

showInput
Boolean

If set, fetch and return the input for the orchestration instance.

Returns

Task<IList<DurableTask.Core.OrchestrationState>>

Returns a task which completes when the state has been fetched.

Applies to