Dela via


Toast Class

Definition

Represents a Toast notification targeting MPNS. Use the Toast with MpnsPushMessage to create an MPNS notification and send it using the PushClient.

public class Toast : Microsoft.WindowsAzure.Mobile.Service.Notifications.MpnsMessage
type Toast = class
    inherit MpnsMessage
Public Class Toast
Inherits MpnsMessage
Inheritance

Remarks

For more information about the MPNS Toast, see http://msdn.microsoft.com/en-us/library/windowsphone/develop/jj662938.

Constructors

Toast()

Initializes a new instance of the Toast.

Properties

Parameter

Gets or sets the Param field of the toast.

Properties

Gets the properties associated with this toast or tile.

(Inherited from MpnsMessage)
Template

Gets or sets the template name of the tile or toast, e.g. "FlipTile", or null if there is no template name.

(Inherited from MpnsMessage)
Text1

Gets or sets the Text1 field of the toast.

Text2

Gets or sets the Text2 field of the toast.

TileId

Gets or sets the id of the tile.

(Inherited from MpnsMessage)
Version

Gets or sets the version of the tile or toast, e.g. "2.0", or null if there is no version.

(Inherited from MpnsMessage)

Explicit Interface Implementations

IXmlSerializable.GetSchema() (Inherited from MpnsMessage)
IXmlSerializable.ReadXml(XmlReader) (Inherited from MpnsMessage)
IXmlSerializable.WriteXml(XmlWriter) (Inherited from MpnsMessage)

Applies to