Partager via


AppleNotification Constructeurs

Définition

Surcharges

AppleNotification(String)

Initialise une nouvelle instance de la classe AppleNotification.

AppleNotification(String, IDictionary<String,String>)

Initialise une nouvelle instance de la classe AppleNotification.

AppleNotification(String, Nullable<DateTime>)

Initialise une nouvelle instance de la classe AppleNotification.

AppleNotification(String, String)
Obsolète.

Initialise une nouvelle instance de la classe AppleNotification.

AppleNotification(String, Nullable<DateTime>, String)
Obsolète.

Initialise une nouvelle instance de la classe AppleNotification.

AppleNotification(String)

Initialise une nouvelle instance de la classe AppleNotification.

public AppleNotification (string jsonPayload);
new Microsoft.Azure.NotificationHubs.AppleNotification : string -> Microsoft.Azure.NotificationHubs.AppleNotification
Public Sub New (jsonPayload As String)

Paramètres

jsonPayload
String

Charge utile JSON.

S’applique à

AppleNotification(String, IDictionary<String,String>)

Initialise une nouvelle instance de la classe AppleNotification.

public AppleNotification (string jsonPayload, System.Collections.Generic.IDictionary<string,string> apnsHeaders);
new Microsoft.Azure.NotificationHubs.AppleNotification : string * System.Collections.Generic.IDictionary<string, string> -> Microsoft.Azure.NotificationHubs.AppleNotification
Public Sub New (jsonPayload As String, apnsHeaders As IDictionary(Of String, String))

Paramètres

jsonPayload
String

Charge utile JSON.

apnsHeaders
IDictionary<String,String>

En-têtes APNS.

S’applique à

AppleNotification(String, Nullable<DateTime>)

Initialise une nouvelle instance de la classe AppleNotification.

public AppleNotification (string jsonPayload, DateTime? expiry);
new Microsoft.Azure.NotificationHubs.AppleNotification : string * Nullable<DateTime> -> Microsoft.Azure.NotificationHubs.AppleNotification
Public Sub New (jsonPayload As String, expiry As Nullable(Of DateTime))

Paramètres

jsonPayload
String

Charge utile JSON.

expiry
Nullable<DateTime>

Expiration de la notification.

S’applique à

AppleNotification(String, String)

Attention

This method is obsolete.

Initialise une nouvelle instance de la classe AppleNotification.

[System.Obsolete("This method is obsolete.")]
public AppleNotification (string jsonPayload, string tag);
[<System.Obsolete("This method is obsolete.")>]
new Microsoft.Azure.NotificationHubs.AppleNotification : string * string -> Microsoft.Azure.NotificationHubs.AppleNotification
Public Sub New (jsonPayload As String, tag As String)

Paramètres

jsonPayload
String

Charge utile JSON.

tag
String

Balise de notification.

Attributs

S’applique à

AppleNotification(String, Nullable<DateTime>, String)

Attention

This method is obsolete.

Initialise une nouvelle instance de la classe AppleNotification.

[System.Obsolete("This method is obsolete.")]
public AppleNotification (string jsonPayload, DateTime? expiry, string tag);
[<System.Obsolete("This method is obsolete.")>]
new Microsoft.Azure.NotificationHubs.AppleNotification : string * Nullable<DateTime> * string -> Microsoft.Azure.NotificationHubs.AppleNotification
Public Sub New (jsonPayload As String, expiry As Nullable(Of DateTime), tag As String)

Paramètres

jsonPayload
String

Charge utile JSON.

expiry
Nullable<DateTime>

Expiration de la notification.

tag
String

Balise de notification.

Attributs

S’applique à