PushNotificationReceivedEventArgs.Cancel | cancel property
Gets or sets whether Windows should perform its default handling of the notification.
Syntax
var cancel = pushNotificationReceivedEventArgs.cancel;
pushNotificationReceivedEventArgs.cancel = cancel;
Property value
Type: Boolean [JavaScript] | System.Boolean [.NET] | Platform::Boolean [C++]
True to prevent default processing of the notification by Windows, otherwise false. The default value is false.
Requirements
|
Minimum supported client | Windows 8 |
|---|---|
|
Minimum supported server | Windows Server 2012 |
|
Namespace |
|
|
Metadata |
|
|
Capabilities |
|
See also
- PushNotificationReceivedEventArgs
- Push notification overview
- Push and periodic notifications sample
- Quickstart: Sending a tile push notification
- Quickstart: Sending a toast push notification
- How to update a badge through push notifications
- How to authenticate with the Windows Push Notification Service (WNS)
- How to request, create, and save a notification channel
- Guidelines and checklist for push notifications
- Push notification service request and response headers
Build date: 12/4/2012
