Dela via


VolatileActorStateProvider.IActorStateProvider.GetRemindersAsync Method

Definition

Gets the list of reminders from the state provider

System.Threading.Tasks.Task<Microsoft.ServiceFabric.Actors.Query.ReminderPagedResult<System.Collections.Generic.KeyValuePair<Microsoft.ServiceFabric.Actors.ActorId,System.Collections.Generic.List<Microsoft.ServiceFabric.Actors.Runtime.ActorReminderState>>>> IActorStateProvider.GetRemindersAsync (int numItemsToReturn, Microsoft.ServiceFabric.Actors.ActorId actorId, Microsoft.ServiceFabric.Actors.Query.ContinuationToken continuationToken, System.Threading.CancellationToken cancellationToken);
abstract member Microsoft.ServiceFabric.Actors.Runtime.IActorStateProvider.GetRemindersAsync : int * Microsoft.ServiceFabric.Actors.ActorId * Microsoft.ServiceFabric.Actors.Query.ContinuationToken * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.ServiceFabric.Actors.Query.ReminderPagedResult<System.Collections.Generic.KeyValuePair<Microsoft.ServiceFabric.Actors.ActorId, System.Collections.Generic.List<Microsoft.ServiceFabric.Actors.Runtime.ActorReminderState>>>>
override this.Microsoft.ServiceFabric.Actors.Runtime.IActorStateProvider.GetRemindersAsync : int * Microsoft.ServiceFabric.Actors.ActorId * Microsoft.ServiceFabric.Actors.Query.ContinuationToken * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.ServiceFabric.Actors.Query.ReminderPagedResult<System.Collections.Generic.KeyValuePair<Microsoft.ServiceFabric.Actors.ActorId, System.Collections.Generic.List<Microsoft.ServiceFabric.Actors.Runtime.ActorReminderState>>>>
Function GetRemindersAsync (numItemsToReturn As Integer, actorId As ActorId, continuationToken As ContinuationToken, cancellationToken As CancellationToken) As Task(Of ReminderPagedResult(Of KeyValuePair(Of ActorId, List(Of ActorReminderState)))) Implements IActorStateProvider.GetRemindersAsync

Parameters

numItemsToReturn
Int32

Number of items requested to be returned.

actorId
ActorId

ActorId for which reminders to be fetched. A null value indicates all actors in the service.

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

The token to monitor for cancellation requests.

Returns

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

Implements

Applies to