Share via


IActorService.GetActorsAsync(ContinuationToken, CancellationToken) Method

Definition

Gets the list of Actors by querying the actor service.

public System.Threading.Tasks.Task<Microsoft.ServiceFabric.Actors.Query.PagedResult<Microsoft.ServiceFabric.Actors.Query.ActorInformation>> GetActorsAsync (Microsoft.ServiceFabric.Actors.Query.ContinuationToken continuationToken, System.Threading.CancellationToken cancellationToken);
abstract member GetActorsAsync : Microsoft.ServiceFabric.Actors.Query.ContinuationToken * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.ServiceFabric.Actors.Query.PagedResult<Microsoft.ServiceFabric.Actors.Query.ActorInformation>>
Public Function GetActorsAsync (continuationToken As ContinuationToken, cancellationToken As CancellationToken) As Task(Of PagedResult(Of ActorInformation))

Parameters

continuationToken
ContinuationToken

A continuation token to start querying the results from. A null value of continuation token means start returning values form the beginning.

cancellationToken
CancellationToken

Propagates notification that operations should be canceled.

Returns

A task that represents the asynchronous operation of call to server.

Applies to