共用方式為


IDurableOrchestrationClient.ListInstancesAsync Method

Definition

Gets the status of all orchestration instances with paging that match the specified conditions.

public System.Threading.Tasks.Task<Microsoft.Azure.WebJobs.Extensions.DurableTask.OrchestrationStatusQueryResult> ListInstancesAsync (Microsoft.Azure.WebJobs.Extensions.DurableTask.OrchestrationStatusQueryCondition condition, System.Threading.CancellationToken cancellationToken);
abstract member ListInstancesAsync : Microsoft.Azure.WebJobs.Extensions.DurableTask.OrchestrationStatusQueryCondition * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.WebJobs.Extensions.DurableTask.OrchestrationStatusQueryResult>
Public Function ListInstancesAsync (condition As OrchestrationStatusQueryCondition, cancellationToken As CancellationToken) As Task(Of OrchestrationStatusQueryResult)

Parameters

condition
OrchestrationStatusQueryCondition

Return orchestration instances that match the specified conditions.

cancellationToken
CancellationToken

Cancellation token that can be used to cancel the status query operation.

Returns

Returns each page of orchestration status for all instances and continuation token of next page.

Applies to