Share via


PushNotificationReceivedEventArgs.NotificationType Property

Definition

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.

Applies to

See also