Share via


IDurableEntityClient.ListEntitiesAsync(EntityQuery, CancellationToken) Method

Definition

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

public System.Threading.Tasks.Task<Microsoft.Azure.WebJobs.Extensions.DurableTask.EntityQueryResult> ListEntitiesAsync (Microsoft.Azure.WebJobs.Extensions.DurableTask.EntityQuery query, System.Threading.CancellationToken cancellationToken);
abstract member ListEntitiesAsync : Microsoft.Azure.WebJobs.Extensions.DurableTask.EntityQuery * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.WebJobs.Extensions.DurableTask.EntityQueryResult>
Public Function ListEntitiesAsync (query As EntityQuery, cancellationToken As CancellationToken) As Task(Of EntityQueryResult)

Parameters

query
EntityQuery

Return entity instances that match the specified query conditions.

cancellationToken
CancellationToken

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

Returns

Returns a page of entity instances and a continuation token for fetching the next page.

Applies to