Skip to main content

ReminderBase.Snooze(TimeSpan) Method

Notifies the scheduler to defer the triggering of a reminder by the specified interval.

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v24.1.Core.dll

NuGet Package: DevExpress.Scheduler.Core

Declaration

public bool Snooze(
    TimeSpan remindAfter
)

Parameters

Name Type Description
remindAfter TimeSpan

A TimeSpan value which represents the time interval by which the scheduler should delay the triggering of a reminder.

Returns

Type Description
Boolean

true if a reminder alert has been successfully snoozed; otherwise, false.

Remarks

The Snooze method defers the reminder’s alert time by the time interval specified. The time of the alert can be obtained via the ReminderBase.AlertTime property.

If an appointment occurs in the past, then the following behavior is implemented: If an outdated appointment is of AppointmentType.Normal type, then AlertTime=Now+Snooze. If it is a member of a recurring appointment series, then the current valid appointment in a chain will hold the reminder.

See Also