AppleNotification Constructors

Definition

Overloads

AppleNotification(String)

Initializes a new instance of the AppleNotification class.

AppleNotification(String, IDictionary<String,String>)

Initializes a new instance of the AppleNotification class.

AppleNotification(String, Nullable<DateTime>)

Initializes a new instance of the AppleNotification class.

AppleNotification(String, String)
Obsolete.

Initializes a new instance of the AppleNotification class.

AppleNotification(String, Nullable<DateTime>, String)
Obsolete.

Initializes a new instance of the AppleNotification class.

AppleNotification(String)

Initializes a new instance of the AppleNotification class.

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

Parameters

jsonPayload
String

The JSON payload.

Applies to

AppleNotification(String, IDictionary<String,String>)

Initializes a new instance of the AppleNotification class.

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))

Parameters

jsonPayload
String

The JSON payload.

apnsHeaders
IDictionary<String,String>

The APNS headers.

Applies to

AppleNotification(String, Nullable<DateTime>)

Initializes a new instance of the AppleNotification class.

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))

Parameters

jsonPayload
String

The JSON payload.

expiry
Nullable<DateTime>

The expiration of the notification.

Applies to

AppleNotification(String, String)

Caution

This method is obsolete.

Initializes a new instance of the AppleNotification class.

[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)

Parameters

jsonPayload
String

The JSON payload.

tag
String

The notification tag.

Attributes

Applies to

AppleNotification(String, Nullable<DateTime>, String)

Caution

This method is obsolete.

Initializes a new instance of the AppleNotification class.

[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)

Parameters

jsonPayload
String

The JSON payload.

expiry
Nullable<DateTime>

The expiration of the notification.

tag
String

The notification tag.

Attributes

Applies to