MpnsPushMessage Class

 

The MpnsPushMessage class helps in generating a notification payload targeting Microsoft 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::MpnsPushMessage

[XmlRootAttribute("Notification", Namespace = "WPNotification")]
public ref class MpnsPushMessage : IPushMessage

NameDescription
System_CAPS_pubmethodMpnsPushMessage(MpnsMessage^)

Initializes a new instance of the MpnsPushMessage class with a given toastOrTile. The toast or tile can be CycleTile, FlipTile, IconicTile, or Toast (defined in the Notifications namespace).

NameDescription
System_CAPS_pubpropertyHeaders

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

System_CAPS_pubpropertyMessage

Gets or sets the specific MpnsMessage for this instance.

System_CAPS_pubpropertyVersion

Gets or sets the version of the of the toast or tile.

System_CAPS_pubpropertyXmlPayload

As an alternative to building the notification programmatically using a CycleTile, FlipTileIconicTile, or Toast (defined in the Notifications namespace), 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 MpnsPushMessage 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: