MSDN Library
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Microsoft.Phone.Notification Namespace

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

The Microsoft.Phone.Notification namespace provides classes for receiving notifications from the Microsoft Push Notification Service.


If you use this API in your app, you must specify the following capabilities in the app manifest. Otherwise, your app might not work correctly or it might exit unexpectedly.


Windows Phone 8, Windows Phone OS 7.1

For more info, see App capabilities and hardware requirements for Windows Phone 8.

Public classHttpNotificationContains the raw notification data that has been passed to the application from the Microsoft Push Notification Service.
Public classHttpNotificationChannelCreates a notification channel between the Microsoft Push Notification Service and the Push Client and creates a new subscription for raw notifications.
Public classHttpNotificationEventArgsContains the event data when the connectivity status between the Push Client and the Microsoft Push Notification Services changes.
Public classNotificationChannelConnectionEventArgsProvides data for ConnectionStatusChanged events.
Public classNotificationChannelErrorEventArgsThe argument returned with the ErrorOccurred event.
Public classNotificationChannelUriEventArgsContains the event data when a notification channel receives the channel’s URI.
Public classNotificationEventArgsContains the event data for when a notification channel receives a Tile or toast notification.

Public enumerationChannelConnectionStatusIdentifies the current connectivity status between the Push Client and the Microsoft Push Notification Service.
Public enumerationChannelErrorTypeAn enumeration that contains asynchronous errors sent from the Push Client to the application. These error values can occur regardless of whether the application is running in the foreground or not.
Public enumerationChannelPowerLevelThe additional data associated with the PowerLevelChanged message.

© 2016 Microsoft