Windows Dev Center

PushNotificationReceivedEventArgs.BadgeNotification | badgeNotification property

Gets the content of a badge update to perform in response to this push notification.

Syntax


public BadgeNotification BadgeNotification { get; }

Property value

Type: BadgeNotification

Holds the update information. If NotificationType is not of type Badge, this value is NULL.

Requirements (device family)

Device family

Universal

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

Windows.Networking.PushNotifications
Windows::Networking::PushNotifications [C++]

Metadata

Windows.Foundation.UniversalApiContract.winmd

Capabilities

internetClient

Requirements (operating system)

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Namespace

Windows.Networking.PushNotifications
Windows::Networking::PushNotifications [C++]

Metadata

Windows.winmd

Capabilities

internetClient

See also

PushNotificationReceivedEventArgs
WNS 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

 

 

Show:
© 2015 Microsoft