ReminderSettings.AutoDeleteOneTimeReminders Property

Definition

Gets or sets a value indicating whether ActorRuntime should automatically delete one-time reminders after they have fired and completed its callback successfully. One-time reminders refer to reminders whose Period is set to negative value.

public bool AutoDeleteOneTimeReminders { get; set; }
member this.AutoDeleteOneTimeReminders : bool with get, set
Public Property AutoDeleteOneTimeReminders As Boolean

Property Value

The bool value indicating if ActorRuntime should automatically delete a one-time reminders after it has fired and completed its callback successfully.

Remarks

Note that a reminder is considered to completed successfully only when reminder callback ReceiveReminderAsync(String, Byte[], TimeSpan, TimeSpan) completes successfully. If a failover happens while reminder callback was executing, reminder will fire again on new primary replica.

Applies to