AppNotificationPriority 枚举

定义

指定应用通知的优先级。

C#
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.Windows.AppNotifications.AppNotificationsContract), 65536)]
public enum AppNotificationPriority
继承
AppNotificationPriority
属性

字段

名称 说明
Default 0

默认优先级。

High 1

高优先级。

注解

优先级值向平台提供提示,说明应如何以及以何种紧急级别向用户显示通知。 例如,优先级可能会影响系统是否唤醒睡眠设备的屏幕。

使用 Priority 属性设置 AppNotification 的优先级。

适用于

产品 版本
Windows App SDK 1.1, 1.2, 1.3, 1.4, 1.5, 1.6