Share via


IActorStateProvider.DeleteReminderAsync Method

Definition

Deletes the actor reminder with the given reminder name if it exists

public System.Threading.Tasks.Task DeleteReminderAsync (Microsoft.ServiceFabric.Actors.ActorId actorId, string reminderName, System.Threading.CancellationToken cancellationToken = default);
abstract member DeleteReminderAsync : Microsoft.ServiceFabric.Actors.ActorId * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function DeleteReminderAsync (actorId As ActorId, reminderName As String, Optional cancellationToken As CancellationToken = Nothing) As Task

Parameters

actorId
ActorId

ID of the actor for which to delete the reminder.

reminderName
String

Name of the reminder to delete.

cancellationToken
CancellationToken

The token to monitor for cancellation requests.

Returns

A task that represents the asynchronous delete operation.

Exceptions

The operation was canceled.

Applies to