NotificationHubClient.CreateAppleNativeRegistrationAsync Method
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
CreateAppleNativeRegistrationAsync(String, IEnumerable<String>, CancellationToken) |
Asynchronously creates an Apple native registration. |
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.
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>
override this.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.
Implements
Applies to
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>
override this.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.
Implements
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>
override this.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.
Implements
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>
override this.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.