Share via


AppNotificationSetting Enum

Definition

Specifies the app notification setting status for the app.

public enum class AppNotificationSetting
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.Windows.AppNotifications.AppNotificationsContract, 65536)]
enum class AppNotificationSetting
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.Windows.AppNotifications.AppNotificationsContract), 65536)]
public enum AppNotificationSetting
var value = Microsoft.Windows.AppNotifications.AppNotificationSetting.enabled
Public Enum AppNotificationSetting
Inheritance
AppNotificationSetting
Attributes

Fields

Name Value Description
Enabled 0

App notifications are enabled.

DisabledForApplication 1

App notifications are blocked by a user-defined app setting.

DisabledForUser 2

App notifications are blocked by a user-defined global setting.

DisabledByGroupPolicy 3

App notifications are blocked by Group Policy.

DisabledByManifest 4

App notifications are blocked by a setting in the manifest. This value only applies to packaged applications.

Unsupported 5

Applies to