Specifies the limitations on tile or toast notification display.
Syntax
var value = Windows.UI.Notifications.NotificationSetting.enabled;
Attributes
- VersionAttribute(NTDDI_WIN8)
Members
The NotificationSetting enumeration has these members.
| Member | Value | Description |
|---|---|---|
| Enabled | enabled | 0 |
All notifications raised by this app can be displayed. |
| DisabledForApplication | disabledForApplication | 1 |
The user has disabled notifications for this app. |
| DisabledForUser | disabledForUser | 2 |
The user or administrator has disabled all notifications for this user on this computer. |
| DisabledByGroupPolicy | disabledByGroupPolicy | 3 |
An administrator has disabled all notifications on this computer through group policy. The group policy setting overrides the user's setting. |
| DisabledByManifest | disabledByManifest | 4 |
This app has not declared itself toast capable in its package.appxmanifest file. This setting is found on the manifest's Application UI page, under the Notification section. For an app to send toast, the Toast Capable option must be set to "Yes". |
Requirements
|
Minimum supported client | Windows 8 |
|---|---|
|
Minimum supported server | Windows Server 2012 |
|
Namespace |
|
|
Metadata |
|
See also
Build date: 12/4/2012