IActorService.GetActorsAsync(ContinuationToken, CancellationToken) 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>>
Parameters
continuationToken
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 CancellationToken

Propagates notification that operations should be canceled.

Returns

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

Applies to