Udostępnij za pośrednictwem


VolatileActorStateProvider.IActorStateProvider.LoadRemindersAsync Method

Definition

Loads all the reminders contained in the actor state provider.

System.Threading.Tasks.Task<Microsoft.ServiceFabric.Actors.Runtime.IActorReminderCollection> IActorStateProvider.LoadRemindersAsync (System.Threading.CancellationToken cancellationToken);
abstract member Microsoft.ServiceFabric.Actors.Runtime.IActorStateProvider.LoadRemindersAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.ServiceFabric.Actors.Runtime.IActorReminderCollection>
override this.Microsoft.ServiceFabric.Actors.Runtime.IActorStateProvider.LoadRemindersAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.ServiceFabric.Actors.Runtime.IActorReminderCollection>
Function LoadRemindersAsync (cancellationToken As CancellationToken) As Task(Of IActorReminderCollection) Implements IActorStateProvider.LoadRemindersAsync

Parameters

cancellationToken
CancellationToken

The cancellation token for asynchronous load operation.

Returns

A task that represents the asynchronous load operation. The value of TResult parameter is a collection of all actor reminders contained in the actor state provider.

Implements

Exceptions

The operation was canceled.

Applies to