共用方式為


AppNotificationPriority 列舉

定義

指定應用程式通知的優先順序。

public enum class AppNotificationPriority
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.Windows.AppNotifications.AppNotificationsContract, 65536)]
enum class AppNotificationPriority
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.Windows.AppNotifications.AppNotificationsContract), 65536)]
public enum AppNotificationPriority
var value = Microsoft.Windows.AppNotifications.AppNotificationPriority.default
Public Enum AppNotificationPriority
繼承
AppNotificationPriority
屬性

欄位

名稱 Description
Default 0

默認優先順序。

High 1

高優先順序。

備註

優先順序值會提供提示給平臺,說明通知應呈現給使用者的方式和急迫性層級。 例如,優先順序可能會影響系統是否喚醒睡眠裝置的畫面。

使用 Priority 屬性設定 AppNotification 的優先順序。

適用於