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)

System.Object
  Microsoft.WindowsAzure.Mobile.Service.WindowsPushMessage

<XmlRootAttribute("tile")>
Public Class WindowsPushMessage
	Implements IPushMessage

NameDescription
System_CAPS_pubmethodWindowsPushMessage()

Initializes a new instance of the WindowsPushMessage class.

System_CAPS_pubmethodWindowsPushMessage(Int32, TileBinding())

Initializes a new instance of the WindowsPushMessage class.

NameDescription
System_CAPS_pubpropertyHeaders

Any additional HTTP headers sent to the Windows Push Notification Services along with the notification.

System_CAPS_pubpropertyVisual

A VisualTile element which contains multiple binding child elements, each of which defines a tile.

System_CAPS_pubpropertyXmlPayload

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.

NameDescription
System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodToString()

Provides an XML representation of the WindowsPushMessage instance.(Overrides Object.ToString().)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: