Dela via


IActorStateProvider.LoadRemindersAsync(CancellationToken) Method

Definition

Loads all the reminders contained in the actor state provider.

public System.Threading.Tasks.Task<Microsoft.ServiceFabric.Actors.Runtime.IActorReminderCollection> LoadRemindersAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member LoadRemindersAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.ServiceFabric.Actors.Runtime.IActorReminderCollection>
Public Function LoadRemindersAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of IActorReminderCollection)

Parameters

cancellationToken
CancellationToken

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.

Exceptions

The operation was canceled.

Applies to