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