Udostępnij za pośrednictwem


IActorStateProvider.ReminderCallbackCompletedAsync Method

Definition

Invoked when a reminder fires and finishes executing its callback ReceiveReminderAsync(String, Byte[], TimeSpan, TimeSpan) successfully.

public System.Threading.Tasks.Task ReminderCallbackCompletedAsync (Microsoft.ServiceFabric.Actors.ActorId actorId, Microsoft.ServiceFabric.Actors.Runtime.IActorReminder reminder, System.Threading.CancellationToken cancellationToken = default);
abstract member ReminderCallbackCompletedAsync : Microsoft.ServiceFabric.Actors.ActorId * Microsoft.ServiceFabric.Actors.Runtime.IActorReminder * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function ReminderCallbackCompletedAsync (actorId As ActorId, reminder As IActorReminder, Optional cancellationToken As CancellationToken = Nothing) As Task

Parameters

actorId
ActorId

ID of the actor which own reminder

reminder
IActorReminder

Actor reminder that completed successfully.

cancellationToken
CancellationToken

The token to monitor for cancellation requests.

Returns

A task that represents the asynchronous reminder callback completed notification processing.

Applies to