다음을 통해 공유


ReliableCollectionsActorStateProvider.IActorStateProvider.SaveReminderAsync Method

Definition

Saves the specified actor ID reminder. If an actor reminder with given name does not exist, it adds the actor reminder otherwise existing actor reminder with same name is updated.

System.Threading.Tasks.Task IActorStateProvider.SaveReminderAsync (Microsoft.ServiceFabric.Actors.ActorId actorId, Microsoft.ServiceFabric.Actors.Runtime.IActorReminder reminder, System.Threading.CancellationToken cancellationToken);
abstract member Microsoft.ServiceFabric.Actors.Runtime.IActorStateProvider.SaveReminderAsync : Microsoft.ServiceFabric.Actors.ActorId * Microsoft.ServiceFabric.Actors.Runtime.IActorReminder * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.Microsoft.ServiceFabric.Actors.Runtime.IActorStateProvider.SaveReminderAsync : Microsoft.ServiceFabric.Actors.ActorId * Microsoft.ServiceFabric.Actors.Runtime.IActorReminder * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Function SaveReminderAsync (actorId As ActorId, reminder As IActorReminder, cancellationToken As CancellationToken) As Task Implements IActorStateProvider.SaveReminderAsync

Parameters

actorId
ActorId

ID of the actor for which to save the reminder.

reminder
IActorReminder

Actor reminder to save.

cancellationToken
CancellationToken

The token to monitor for cancellation requests.

Returns

A task that represents the asynchronous save operation.

Implements

Applies to