你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
MpnsNotification 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
MpnsNotification(String) |
初始化 MpnsNotification 类的新实例。 |
MpnsNotification(XmlDocument) |
初始化 MpnsNotification 类的新实例。 |
MpnsNotification(String, IDictionary<String,String>) |
初始化 MpnsNotification 类的新实例。 |
MpnsNotification(String, String) |
已过时.
初始化 MpnsNotification 类的新实例。 |
MpnsNotification(XmlDocument, IDictionary<String,String>) |
初始化 MpnsNotification 类的新实例。 |
MpnsNotification(XmlDocument, String) |
已过时.
初始化 MpnsNotification 类的新实例。 |
MpnsNotification(String, IDictionary<String,String>, String) |
已过时.
初始化 MpnsNotification 类的新实例。 |
MpnsNotification(XmlDocument, IDictionary<String,String>, String) |
已过时.
初始化 MpnsNotification 类的新实例。 |
MpnsNotification(String)
初始化 MpnsNotification 类的新实例。
public MpnsNotification (string payLoad);
new Microsoft.Azure.NotificationHubs.MpnsNotification : string -> Microsoft.Azure.NotificationHubs.MpnsNotification
Public Sub New (payLoad As String)
参数
- payLoad
- String
负载。
适用于
MpnsNotification(XmlDocument)
初始化 MpnsNotification 类的新实例。
public MpnsNotification (System.Xml.XmlDocument payLoad);
new Microsoft.Azure.NotificationHubs.MpnsNotification : System.Xml.XmlDocument -> Microsoft.Azure.NotificationHubs.MpnsNotification
Public Sub New (payLoad As XmlDocument)
参数
- payLoad
- XmlDocument
负载。
适用于
MpnsNotification(String, IDictionary<String,String>)
初始化 MpnsNotification 类的新实例。
public MpnsNotification (string payLoad, System.Collections.Generic.IDictionary<string,string> mpnsHeaders);
new Microsoft.Azure.NotificationHubs.MpnsNotification : string * System.Collections.Generic.IDictionary<string, string> -> Microsoft.Azure.NotificationHubs.MpnsNotification
Public Sub New (payLoad As String, mpnsHeaders As IDictionary(Of String, String))
参数
- payLoad
- String
负载。
- mpnsHeaders
- IDictionary<String,String>
MPNS 标头。
例外
适用于
MpnsNotification(String, String)
注意
This method is obsolete.
初始化 MpnsNotification 类的新实例。
[System.Obsolete("This method is obsolete.")]
public MpnsNotification (string payLoad, string tag);
[<System.Obsolete("This method is obsolete.")>]
new Microsoft.Azure.NotificationHubs.MpnsNotification : string * string -> Microsoft.Azure.NotificationHubs.MpnsNotification
Public Sub New (payLoad As String, tag As String)
参数
- payLoad
- String
负载。
- tag
- String
通知标记。
- 属性
适用于
MpnsNotification(XmlDocument, IDictionary<String,String>)
初始化 MpnsNotification 类的新实例。
public MpnsNotification (System.Xml.XmlDocument payLoad, System.Collections.Generic.IDictionary<string,string> mpnsHeaders);
new Microsoft.Azure.NotificationHubs.MpnsNotification : System.Xml.XmlDocument * System.Collections.Generic.IDictionary<string, string> -> Microsoft.Azure.NotificationHubs.MpnsNotification
Public Sub New (payLoad As XmlDocument, mpnsHeaders As IDictionary(Of String, String))
参数
- payLoad
- XmlDocument
负载。
- mpnsHeaders
- IDictionary<String,String>
MPNS 标头。
适用于
MpnsNotification(XmlDocument, String)
注意
This method is obsolete.
初始化 MpnsNotification 类的新实例。
[System.Obsolete("This method is obsolete.")]
public MpnsNotification (System.Xml.XmlDocument payLoad, string tag);
[<System.Obsolete("This method is obsolete.")>]
new Microsoft.Azure.NotificationHubs.MpnsNotification : System.Xml.XmlDocument * string -> Microsoft.Azure.NotificationHubs.MpnsNotification
Public Sub New (payLoad As XmlDocument, tag As String)
参数
- payLoad
- XmlDocument
负载。
- tag
- String
通知标记。
- 属性
适用于
MpnsNotification(String, IDictionary<String,String>, String)
注意
This method is obsolete.
初始化 MpnsNotification 类的新实例。
[System.Obsolete("This method is obsolete.")]
public MpnsNotification (string payLoad, System.Collections.Generic.IDictionary<string,string> mpnsHeaders, string tag);
[<System.Obsolete("This method is obsolete.")>]
new Microsoft.Azure.NotificationHubs.MpnsNotification : string * System.Collections.Generic.IDictionary<string, string> * string -> Microsoft.Azure.NotificationHubs.MpnsNotification
Public Sub New (payLoad As String, mpnsHeaders As IDictionary(Of String, String), tag As String)
参数
- payLoad
- String
负载。
- mpnsHeaders
- IDictionary<String,String>
MPNS 标头。
- tag
- String
通知标记。
- 属性
例外
如果有效负载为 null 或为空,则引发
适用于
MpnsNotification(XmlDocument, IDictionary<String,String>, String)
注意
This method is obsolete.
初始化 MpnsNotification 类的新实例。
[System.Obsolete("This method is obsolete.")]
public MpnsNotification (System.Xml.XmlDocument payLoad, System.Collections.Generic.IDictionary<string,string> mpnsHeaders, string tag);
[<System.Obsolete("This method is obsolete.")>]
new Microsoft.Azure.NotificationHubs.MpnsNotification : System.Xml.XmlDocument * System.Collections.Generic.IDictionary<string, string> * string -> Microsoft.Azure.NotificationHubs.MpnsNotification
Public Sub New (payLoad As XmlDocument, mpnsHeaders As IDictionary(Of String, String), tag As String)
参数
- payLoad
- XmlDocument
负载。
- mpnsHeaders
- IDictionary<String,String>
MPNS 标头。
- tag
- String
通知标记。
- 属性