IDurableOrchestrationClient.ListInstancesAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.