Export (0) Print
Expand All
Information
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

July 28, 2014

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

Capabilities

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.

ID_CAP_PUSH_NOTIFICATION

Windows Phone 8, Windows Phone OS 7.1

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

  ClassDescription
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.

  EnumerationDescription
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.

Show:
© 2014 Microsoft