MpnsNotification Class

Definition

Provides notification for Microsoft Push Notification Service (MPNS).

public sealed class MpnsNotification : Microsoft.Azure.NotificationHubs.Notification
type MpnsNotification = class
    inherit Notification
Public NotInheritable Class MpnsNotification
Inherits Notification
Inheritance
System.Object
MpnsNotification

Constructors

MpnsNotification(String)

Initializes a new instance of the MpnsNotification class.

MpnsNotification(String, IDictionary<String,String>)

Initializes a new instance of the MpnsNotification class.

MpnsNotification(String, IDictionary<String,String>, String)
Obsolete.

Initializes a new instance of the MpnsNotification class.

MpnsNotification(String, String)
Obsolete.

Initializes a new instance of the MpnsNotification class.

MpnsNotification(XmlDocument)

Initializes a new instance of the MpnsNotification class.

MpnsNotification(XmlDocument, IDictionary<String,String>)

Initializes a new instance of the MpnsNotification class.

MpnsNotification(XmlDocument, IDictionary<String,String>, String)
Obsolete.

Initializes a new instance of the MpnsNotification class.

MpnsNotification(XmlDocument, String)
Obsolete.

Initializes a new instance of the MpnsNotification class.

Properties

Body

Gets or sets the body of the notification.

(Inherited from Notification)
ContentType

Gets or sets the content type of the notification.

(Inherited from Notification)
Headers

Gets or sets a list of headers associated with the notification.

(Inherited from Notification)
PlatformType

Gets the platform type of the notification.

(Inherited from Notification)
Tag
Obsolete.

Gets or sets the notification tag.

(Inherited from Notification)

Methods

AddOrUpdateHeader(String, String)

Add or updates a header with a given key and value.

(Inherited from Notification)
OnValidateAndPopulateHeaders()

Validate and populates the headers.

(Inherited from Notification)

Applies to