Share via


DurabilityProvider.GetAllOrchestrationStates(CancellationToken) Method

Definition

Gets the status of all orchestration instances.

public virtual System.Threading.Tasks.Task<System.Collections.Generic.IList<DurableTask.Core.OrchestrationState>> GetAllOrchestrationStates (System.Threading.CancellationToken cancellationToken);
abstract member GetAllOrchestrationStates : System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.IList<DurableTask.Core.OrchestrationState>>
override this.GetAllOrchestrationStates : System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.IList<DurableTask.Core.OrchestrationState>>
Public Overridable Function GetAllOrchestrationStates (cancellationToken As CancellationToken) As Task(Of IList(Of OrchestrationState))

Parameters

cancellationToken
CancellationToken

A token to cancel the request.

Returns

Task<IList<DurableTask.Core.OrchestrationState>>

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

Applies to