Udostępnij za pośrednictwem


Windows.Networking.PushNotifications Namespace

Contains classes and interfaces that encapsulate push notifications.

Classes

PushNotificationChannel

Represents a delivery vehicle and addressing mechanism for push notifications.

The channel Uniform Resource Identifier (URI)represented by this interface is used by a third-party application server to communicate with the Windows Push Notification Services (WNS). The push notification channel is used by the client to intercept notifications.

PushNotificationChannelManager

Creates objects that you use to retrieve push notification channels from the Windows Push Notification Services (WNS). These channels are bound to an app or secondary tile.

PushNotificationChannelManagerForUser

Creates objects that you use to retrieve push notification channels from the Windows Push Notification Services (WNS). These channels are bound to the current user through an app or secondary tile.

PushNotificationChannelsRevokedEventArgs

Represents the event arguments for the PushNotificationChannelManager.ChannelsRevoked event.

PushNotificationReceivedEventArgs

Encapsulates a push notification that has been received from the app server, identifying the type and supplying the content of the notification. Windows passes this information in the PushNotificationReceived event.

RawNotification

Encapsulates the app-defined content of a raw notification (a push notification that does not involve UI). Its contents can be used in an app's background task, if the app has that capability, or otherwise consumed by the app and acted on as needed.

Enums

PushNotificationType

The type of push notification that has been received from the app server. Used by the NotificationType property.