ToastNotificationPriority Enum

Definition

Specifies the priority of a ToastNotification.

public enum class ToastNotificationPriority
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 262144)]
enum class ToastNotificationPriority
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 262144)]
public enum ToastNotificationPriority
var value = Windows.UI.Notifications.ToastNotificationPriority.default
Public Enum ToastNotificationPriority
Inheritance
ToastNotificationPriority
Attributes

Windows requirements

Device family
Windows 10 Creators Update (introduced in 10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v4.0)

Fields

Name Value Description
Default 0

The notification should have default behavior in terms of delivery and display priority during connected standby mode.

High 1

The notification should be treated as high priority. For desktop PCs, this means during connected standby mode the incoming notification can turn on the screen for Surface-like devices if it doesn't have a closed lid detected.

Remarks

The priority setting provides hints on how and at what urgency level a notification should be presented to the user (whether to wake up the screen, etc). Whether the notification is displayed in high priority is based on the state and power management policy of the device.

Applies to

See also