WindowsPushMessage Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The WindowsPushMessage helps generating a notification payload targeting Windows Push Notification Services. Notifications can be sent using the PushClient class.
public class WindowsPushMessage : Microsoft.Azure.Mobile.Server.Notifications.IPushMessage
type WindowsPushMessage = class
interface IPushMessage
Public Class WindowsPushMessage
Implements IPushMessage
- Inheritance
-
WindowsPushMessage
- Implements
Constructors
WindowsPushMessage() |
Initializes a new instance of the WindowsPushMessage class. |
WindowsPushMessage(Int32, TileBinding[]) |
Initializes a new instance of the WindowsPushMessage class. |
Properties
Headers |
Any additional HTTP headers sent to the Windows Push Notification Services along with the notification. |
Visual |
A VisualTile element which contains multiple binding child elements, each of which defines a tile. |
XmlPayload |
As an alternative to building the notification programmatically by adding TileBinding instances to the WindowsPushMessage, it is possible to provide a complete XML representation which will be sent to the Notification Hub unaltered. |
Methods
ToString() |
Provides an XML representation of the WindowsPushMessage instance. |
Applies to
Azure SDK for .NET