共用方式為


ActorService.IActorService.GetActorsAsync Method

Definition

Gets the list of Actors by querying the actor service.

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

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.

Implements

Applies to