MpnsNotification Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
MpnsNotification(String) |
Initializes a new instance of the MpnsNotification class. |
MpnsNotification(XmlDocument) |
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(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(String, IDictionary<String,String>, String) |
Obsolete.
Initializes a new instance of the MpnsNotification class. |
MpnsNotification(XmlDocument, IDictionary<String,String>, String) |
Obsolete.
Initializes a new instance of the MpnsNotification class. |
MpnsNotification(String)
Initializes a new instance of the MpnsNotification class.
public MpnsNotification (string payLoad);
new Microsoft.Azure.NotificationHubs.MpnsNotification : string -> Microsoft.Azure.NotificationHubs.MpnsNotification
Public Sub New (payLoad As String)
Parameters
- payLoad
- String
The payload.
Applies to
MpnsNotification(XmlDocument)
Initializes a new instance of the MpnsNotification class.
public MpnsNotification (System.Xml.XmlDocument payLoad);
new Microsoft.Azure.NotificationHubs.MpnsNotification : System.Xml.XmlDocument -> Microsoft.Azure.NotificationHubs.MpnsNotification
Public Sub New (payLoad As XmlDocument)
Parameters
- payLoad
- XmlDocument
The payload.
Applies to
MpnsNotification(String, IDictionary<String,String>)
Initializes a new instance of the MpnsNotification class.
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))
Parameters
- payLoad
- String
The payload.
- mpnsHeaders
- IDictionary<String,String>
The MPNS headers.
Exceptions
payLoad
Applies to
MpnsNotification(String, String)
Caution
This method is obsolete.
Initializes a new instance of the MpnsNotification class.
[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)
Parameters
- payLoad
- String
The payload.
- tag
- String
The notification tag.
- Attributes
Applies to
MpnsNotification(XmlDocument, IDictionary<String,String>)
Initializes a new instance of the MpnsNotification class.
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))
Parameters
- payLoad
- XmlDocument
The payload.
- mpnsHeaders
- IDictionary<String,String>
The MPNS headers.
Applies to
MpnsNotification(XmlDocument, String)
Caution
This method is obsolete.
Initializes a new instance of the MpnsNotification class.
[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)
Parameters
- payLoad
- XmlDocument
The payload.
- tag
- String
The notification tag.
- Attributes
Applies to
MpnsNotification(String, IDictionary<String,String>, String)
Caution
This method is obsolete.
Initializes a new instance of the MpnsNotification class.
[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)
Parameters
- payLoad
- String
The payload.
- mpnsHeaders
- IDictionary<String,String>
The MPNS headers.
- tag
- String
The notification tag.
- Attributes
Exceptions
Thrown if the payload is null or empty
Applies to
MpnsNotification(XmlDocument, IDictionary<String,String>, String)
Caution
This method is obsolete.
Initializes a new instance of the MpnsNotification class.
[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)
Parameters
- payLoad
- XmlDocument
The payload.
- mpnsHeaders
- IDictionary<String,String>
The MPNS headers.
- tag
- String
The notification tag.
- Attributes
Applies to
Azure SDK for .NET