ToastContentBuilder.Schedule Method

Definition

Overloads

Schedule(DateTimeOffset)

Schedules the notification.

Schedule(DateTimeOffset, CustomizeScheduledToast)

Schedules the notification.

Schedule(DateTimeOffset, CustomizeScheduledToastAsync)

Schedules the notification.

Schedule(DateTimeOffset)

Schedules the notification.

public void Schedule (DateTimeOffset deliveryTime);
member this.Schedule : DateTimeOffset -> unit
Public Sub Schedule (deliveryTime As DateTimeOffset)

Parameters

deliveryTime
DateTimeOffset

The date and time that Windows should display the toast notification. This time must be in the future.

Applies to

Schedule(DateTimeOffset, CustomizeScheduledToast)

Schedules the notification.

public void Schedule (DateTimeOffset deliveryTime, Microsoft.Toolkit.Uwp.Notifications.CustomizeScheduledToast customize);
member this.Schedule : DateTimeOffset * Microsoft.Toolkit.Uwp.Notifications.CustomizeScheduledToast -> unit
Public Sub Schedule (deliveryTime As DateTimeOffset, customize As CustomizeScheduledToast)

Parameters

deliveryTime
DateTimeOffset

The date and time that Windows should display the toast notification. This time must be in the future.

customize
CustomizeScheduledToast

Allows you to set additional properties on the Windows.UI.Notifications.ScheduledToastNotification object.

Applies to

Schedule(DateTimeOffset, CustomizeScheduledToastAsync)

Schedules the notification.

public Windows.Foundation.IAsyncAction Schedule (DateTimeOffset deliveryTime, Microsoft.Toolkit.Uwp.Notifications.CustomizeScheduledToastAsync customize);
member this.Schedule : DateTimeOffset * Microsoft.Toolkit.Uwp.Notifications.CustomizeScheduledToastAsync -> Windows.Foundation.IAsyncAction
Public Function Schedule (deliveryTime As DateTimeOffset, customize As CustomizeScheduledToastAsync) As IAsyncAction

Parameters

deliveryTime
DateTimeOffset

The date and time that Windows should display the toast notification. This time must be in the future.

customize
CustomizeScheduledToastAsync

Allows you to set additional properties on the Windows.UI.Notifications.ScheduledToastNotification object.

Returns

Windows.Foundation.IAsyncAction

An operation that completes after your async customizations have completed.

Applies to