PushNotificationReceivedEventArgs.NotificationType Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the type of push notification that has been received from the app server.
public:
property PushNotificationType NotificationType { PushNotificationType get(); };
PushNotificationType NotificationType();
public PushNotificationType NotificationType { get; }
var pushNotificationType = pushNotificationReceivedEventArgs.notificationType;
Public ReadOnly Property NotificationType As PushNotificationType
Property Value
The type (badge, tile, toast, or raw) of push notification that has been received.
Windows requirements
App capabilities |
internetClient
|
Remarks
Channels bound to secondary tiles will only accept push notifications for Tile and Badge updates. Toast and Raw notifications must use a channel bound to an application.