Aracılığıyla paylaş


ReliableCollectionsActorStateProvider.IActorStateProvider.EnumerateStateNamesAsync Method

Definition

Creates an enumerable of all the state names associated with specified actor ID.

System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<string>> IActorStateProvider.EnumerateStateNamesAsync (Microsoft.ServiceFabric.Actors.ActorId actorId, System.Threading.CancellationToken cancellationToken);
abstract member Microsoft.ServiceFabric.Actors.Runtime.IActorStateProvider.EnumerateStateNamesAsync : Microsoft.ServiceFabric.Actors.ActorId * System.Threading.CancellationToken -> System.Threading.Tasks.Task<seq<string>>
override this.Microsoft.ServiceFabric.Actors.Runtime.IActorStateProvider.EnumerateStateNamesAsync : Microsoft.ServiceFabric.Actors.ActorId * System.Threading.CancellationToken -> System.Threading.Tasks.Task<seq<string>>
Function EnumerateStateNamesAsync (actorId As ActorId, cancellationToken As CancellationToken) As Task(Of IEnumerable(Of String)) Implements IActorStateProvider.EnumerateStateNamesAsync

Parameters

actorId
ActorId

ID of the actor for which to create enumerable.

cancellationToken
CancellationToken

The token to monitor for cancellation requests.

Returns

A task that represents the asynchronous enumeration operation. The value of TResult parameter is an enumerable of all state names associated with specified actor.

Implements

Applies to