Dela via


MpnsNotification Class

Definition

Provides notification for Microsoft Push Notification Service (MPNS).

public sealed class MpnsNotification : Microsoft.Azure.NotificationHubs.Notification, Microsoft.Azure.NotificationHubs.INativeNotification
type MpnsNotification = class
    inherit Notification
    interface INativeNotification
Public NotInheritable Class MpnsNotification
Inherits Notification
Implements INativeNotification
Inheritance
MpnsNotification
Implements

Constructors

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

Initializes a new instance of the MpnsNotification class.

MpnsNotification(String, IDictionary<String,String>)

Initializes a new instance of the MpnsNotification class.

MpnsNotification(String, String)
Obsolete.

Initializes a new instance of the MpnsNotification class.

MpnsNotification(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, IDictionary<String,String>)

Initializes a new instance of the MpnsNotification class.

MpnsNotification(XmlDocument, String)
Obsolete.

Initializes a new instance of the MpnsNotification class.

MpnsNotification(XmlDocument)

Initializes a new instance of the MpnsNotification class.

Properties

Body

Gets or sets notification body.

(Inherited from Notification)
ContentType

Gets or sets the type of the notification content.

(Inherited from Notification)
Headers

Gets or sets notification headers.

(Inherited from Notification)
PlatformType

Gets the type of the platform.

(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