Share via


INotificationHubClient.CreateAppleNativeRegistrationAsync Method

Definition

Overloads

CreateAppleNativeRegistrationAsync(String)

Asynchronously creates an Apple native registration.

CreateAppleNativeRegistrationAsync(String, IEnumerable<String>)

Asynchronously creates an Apple native registration.

CreateAppleNativeRegistrationAsync(String, CancellationToken)

Asynchronously creates an Apple native registration.

CreateAppleNativeRegistrationAsync(String, IEnumerable<String>, CancellationToken)

Asynchronously creates an Apple native registration.

CreateAppleNativeRegistrationAsync(String)

Asynchronously creates an Apple native registration.

public System.Threading.Tasks.Task<Microsoft.Azure.NotificationHubs.AppleRegistrationDescription> CreateAppleNativeRegistrationAsync (string deviceToken);
abstract member CreateAppleNativeRegistrationAsync : string -> System.Threading.Tasks.Task<Microsoft.Azure.NotificationHubs.AppleRegistrationDescription>
Public Function CreateAppleNativeRegistrationAsync (deviceToken As String) As Task(Of AppleRegistrationDescription)

Parameters

deviceToken
String

The device token.

Returns

The task that completes the asynchronous operation.

Applies to

CreateAppleNativeRegistrationAsync(String, IEnumerable<String>)

Asynchronously creates an Apple native registration.

public System.Threading.Tasks.Task<Microsoft.Azure.NotificationHubs.AppleRegistrationDescription> CreateAppleNativeRegistrationAsync (string deviceToken, System.Collections.Generic.IEnumerable<string> tags);
abstract member CreateAppleNativeRegistrationAsync : string * seq<string> -> System.Threading.Tasks.Task<Microsoft.Azure.NotificationHubs.AppleRegistrationDescription>
Public Function CreateAppleNativeRegistrationAsync (deviceToken As String, tags As IEnumerable(Of String)) As Task(Of AppleRegistrationDescription)

Parameters

deviceToken
String

The device token.

tags
IEnumerable<String>

The tags.

Returns

The task that completes the asynchronous operation.

Applies to

CreateAppleNativeRegistrationAsync(String, CancellationToken)

Asynchronously creates an Apple native registration.

public System.Threading.Tasks.Task<Microsoft.Azure.NotificationHubs.AppleRegistrationDescription> CreateAppleNativeRegistrationAsync (string deviceToken, System.Threading.CancellationToken cancellationToken);
abstract member CreateAppleNativeRegistrationAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.NotificationHubs.AppleRegistrationDescription>
Public Function CreateAppleNativeRegistrationAsync (deviceToken As String, cancellationToken As CancellationToken) As Task(Of AppleRegistrationDescription)

Parameters

deviceToken
String

The device token.

cancellationToken
CancellationToken

A CancellationToken to observe while waiting for a task to complete.

Returns

The task that completes the asynchronous operation.

Applies to

CreateAppleNativeRegistrationAsync(String, IEnumerable<String>, CancellationToken)

Asynchronously creates an Apple native registration.

public System.Threading.Tasks.Task<Microsoft.Azure.NotificationHubs.AppleRegistrationDescription> CreateAppleNativeRegistrationAsync (string deviceToken, System.Collections.Generic.IEnumerable<string> tags, System.Threading.CancellationToken cancellationToken);
abstract member CreateAppleNativeRegistrationAsync : string * seq<string> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.NotificationHubs.AppleRegistrationDescription>
Public Function CreateAppleNativeRegistrationAsync (deviceToken As String, tags As IEnumerable(Of String), cancellationToken As CancellationToken) As Task(Of AppleRegistrationDescription)

Parameters

deviceToken
String

The device token.

tags
IEnumerable<String>

The tags.

cancellationToken
CancellationToken

A CancellationToken to observe while waiting for a task to complete.

Returns

The task that completes the asynchronous operation.

Applies to