Udostępnij za pośrednictwem


ApnsCredential Constructors

Definition

Overloads

ApnsCredential()

Initializes a new instance of the ApnsCredential class.

ApnsCredential(Byte[], String)

Initializes a new instance of the ApnsCredential class.

ApnsCredential(String, String)

Initializes a new instance of the ApnsCredential class.

ApnsCredential(String, String, String, String)

Initializes a new instance of the ApnsCredential class.

ApnsCredential()

Initializes a new instance of the ApnsCredential class.

public ApnsCredential ();
Public Sub New ()

Applies to

ApnsCredential(Byte[], String)

Initializes a new instance of the ApnsCredential class.

public ApnsCredential (byte[] certificateBuffer, string certificateKey);
new Microsoft.Azure.NotificationHubs.ApnsCredential : byte[] * string -> Microsoft.Azure.NotificationHubs.ApnsCredential
Public Sub New (certificateBuffer As Byte(), certificateKey As String)

Parameters

certificateBuffer
Byte[]

The certificate buffer.

certificateKey
String

The certificated key.

Applies to

ApnsCredential(String, String)

Initializes a new instance of the ApnsCredential class.

public ApnsCredential (string certificatePath, string certificateKey);
new Microsoft.Azure.NotificationHubs.ApnsCredential : string * string -> Microsoft.Azure.NotificationHubs.ApnsCredential
Public Sub New (certificatePath As String, certificateKey As String)

Parameters

certificatePath
String

The certificate path.

certificateKey
String

The certificate key.

Applies to

ApnsCredential(String, String, String, String)

Initializes a new instance of the ApnsCredential class.

public ApnsCredential (string token, string keyId, string appId, string appName);
new Microsoft.Azure.NotificationHubs.ApnsCredential : string * string * string * string -> Microsoft.Azure.NotificationHubs.ApnsCredential
Public Sub New (token As String, keyId As String, appId As String, appName As String)

Parameters

token
String

The authentication token.

keyId
String

The key Id from the APNs Auth Key Page.

appId
String

The application prefix from the iOS App IDs Page.

appName
String

The application id from the iOS App IDs Page.

Applies to