你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

MpnsNotification 类

定义

为 Microsoft 推送通知服务 (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
继承
MpnsNotification
实现

构造函数

MpnsNotification(String)

初始化 MpnsNotification 类的新实例。

MpnsNotification(String, IDictionary<String,String>)

初始化 MpnsNotification 类的新实例。

MpnsNotification(String, IDictionary<String,String>, String)
已过时.

初始化 MpnsNotification 类的新实例。

MpnsNotification(String, String)
已过时.

初始化 MpnsNotification 类的新实例。

MpnsNotification(XmlDocument)

初始化 MpnsNotification 类的新实例。

MpnsNotification(XmlDocument, IDictionary<String,String>)

初始化 MpnsNotification 类的新实例。

MpnsNotification(XmlDocument, IDictionary<String,String>, String)
已过时.

初始化 MpnsNotification 类的新实例。

MpnsNotification(XmlDocument, String)
已过时.

初始化 MpnsNotification 类的新实例。

属性

Body

获取或设置通知正文。

(继承自 Notification)
ContentType

获取或设置通知内容类型。

(继承自 Notification)
Headers

获取或设置通知标头。

(继承自 Notification)
PlatformType

获取平台的类型。

(继承自 Notification)
Tag
已过时.

获取或设置通知标记。

(继承自 Notification)

方法

AddOrUpdateHeader(String, String)

添加或更新具有给定键和值的标头。

(继承自 Notification)
OnValidateAndPopulateHeaders()

验证并填充标头。

(继承自 Notification)

适用于