HttpNotificationChannel Class
July 26, 2012
Creates a notification channel between the Microsoft Push Notification Service and the Push Client and creates a new subscription for raw notifications.
Namespace:
Microsoft.Phone.Notification
Assembly: Microsoft.Phone (in Microsoft.Phone.dll)
The HttpNotificationChannel type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | HttpNotificationChannel(String) | Creates a notification channel. The application will identify the notification channel using the channelName value. |
![]() | HttpNotificationChannel(String, String) | Creates a notification channel. Use this constructor with an authenticated web service. The application will identify the notification channel using the channelName value. The serviceName value identifies the Subject Name of the authenticated web service's certificate. |
| Name | Description | |
|---|---|---|
![]() | ChannelName | The name of the notification channel. |
![]() | ChannelUri | The current active notification channel URI. |
![]() | ConnectionStatus | Get the current channel connection status. |
![]() | IsShellTileBound | Indicates whether the notification channel is currently bound to a Tile notification subscription. |
![]() | IsShellToastBound | Indicates whether the notification channel is currently bound to a toast notification subscription. |
| Name | Description | |
|---|---|---|
![]() | BindToShellTile() | Binds the application’s default Tile with a notification subscription. The Tile can contain only local references for resources. |
![]() | BindToShellTile(Collection<Uri>) | Binds the Tile passed as the input parameter with a notification subscription. The Tile can contain either a local or remote resource reference. |
![]() | BindToShellToast | Binds a toast notification subscription to the HttpNotificationChannel class instance. |
![]() | Close | Closes a notification channel and disassociates all of the subscriptions associated with this instance of the HttpNotificationChannel class. |
![]() | Dispose | Disposes the class. |
![]() | Equals | (Inherited from Object.) |
![]() | Finalize | Frees resources and performs cleanup operations before the class instance is reclaimed by garbage collection. (Overrides Object.Finalize().) |
![]() ![]() | Find | Finds a previously created notification channel. |
![]() | GetHashCode | (Inherited from Object.) |
![]() | GetType | (Inherited from Object.) |
![]() | MemberwiseClone | (Inherited from Object.) |
![]() | Open | Opens a notification channel with the Microsoft Push Notification Service. |
![]() | ToString | (Inherited from Object.) |
![]() | UnbindToShellTile | Unbinds the active Tile notification subscription from the notification channel. |
![]() | UnbindToShellToast | Unbinds the active toast notification subscription from the notification channel. |
| Name | Description | |
|---|---|---|
![]() | ChannelUriUpdated | Returns the URI associated with the notification channel. |
![]() | ConnectionStatusChanged | Occurs when the connection status has changed. |
![]() | ErrorOccurred | Raised when something unexpected happens when using the HttpNotificationChannel class. |
![]() | HttpNotificationReceived | Raised when the application receives a raw notification. |
![]() | ShellToastNotificationReceived | Raised when the application receives a toast notification. |
For more information about push notifications, see Push Notifications Overview for Windows Phone.
