WindowsPushMessage Class
The WindowsPushMessage helps generating a notification payload targeting Windows Push Notification Services. Notifications can be sent using the PushClient class which is available from the ApiServices class.
Namespace: Microsoft.WindowsAzure.Mobile.Service
Assembly: Microsoft.WindowsAzure.Mobile.Service (in Microsoft.WindowsAzure.Mobile.Service.dll)
Inheritance Hierarchy
System.Object
Microsoft.WindowsAzure.Mobile.Service.WindowsPushMessage
Syntax
[XmlRootAttribute("tile")]
public class WindowsPushMessage : IPushMessage
[XmlRootAttribute("tile")]
public ref class WindowsPushMessage : IPushMessage
[<XmlRootAttribute("tile")>]
type WindowsPushMessage =
class
interface IPushMessage
end
<XmlRootAttribute("tile")>
Public Class WindowsPushMessage
Implements IPushMessage
Constructors
Name | Description | |
---|---|---|
WindowsPushMessage() | Initializes a new instance of the WindowsPushMessage class. |
|
WindowsPushMessage(Int32, TileBinding[]) | Initializes a new instance of the WindowsPushMessage class. |
Properties
Name | Description | |
---|---|---|
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
Name | Description | |
---|---|---|
Equals(Object) | (Inherited from Object.) |
|
Finalize() | (Inherited from Object.) |
|
GetHashCode() | (Inherited from Object.) |
|
GetType() | (Inherited from Object.) |
|
MemberwiseClone() | (Inherited from Object.) |
|
ToString() | Provides an XML representation of the WindowsPushMessage instance.(Overrides Object.ToString().) |
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Microsoft.WindowsAzure.Mobile.Service Namespace
Return to top