Delen via


INotificationHubClient.CreateAppleTemplateRegistrationAsync Method

Definition

Overloads

CreateAppleTemplateRegistrationAsync(String, String, CancellationToken)

Asynchronously creates an Apple template registration. To specify additional properties at creation, use the CreateRegistrationAsync<T>(T) method.

CreateAppleTemplateRegistrationAsync(String, String)

Asynchronously creates an Apple template registration. To specify additional properties at creation, use the CreateRegistrationAsync<T>(T) method.

CreateAppleTemplateRegistrationAsync(String, String, IEnumerable<String>)

Asynchronously creates an Apple template registration. To specify additional properties at creation, use the CreateRegistrationAsync<T>(T) method.

CreateAppleTemplateRegistrationAsync(String, String, IEnumerable<String>, CancellationToken)

Asynchronously creates an Apple template registration. To specify additional properties at creation, use the CreateRegistrationAsync<T>(T) method.

CreateAppleTemplateRegistrationAsync(String, String, CancellationToken)

Asynchronously creates an Apple template registration. To specify additional properties at creation, use the CreateRegistrationAsync<T>(T) method.

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

Parameters

deviceToken
String

The device token.

jsonPayload
String

The JSON payload.

cancellationToken
CancellationToken

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

Returns

The task that completes the asynchronous operation.

Applies to

CreateAppleTemplateRegistrationAsync(String, String)

Asynchronously creates an Apple template registration. To specify additional properties at creation, use the CreateRegistrationAsync<T>(T) method.

public System.Threading.Tasks.Task<Microsoft.Azure.NotificationHubs.AppleTemplateRegistrationDescription> CreateAppleTemplateRegistrationAsync (string deviceToken, string jsonPayload);
abstract member CreateAppleTemplateRegistrationAsync : string * string -> System.Threading.Tasks.Task<Microsoft.Azure.NotificationHubs.AppleTemplateRegistrationDescription>
Public Function CreateAppleTemplateRegistrationAsync (deviceToken As String, jsonPayload As String) As Task(Of AppleTemplateRegistrationDescription)

Parameters

deviceToken
String

The device token.

jsonPayload
String

The JSON payload.

Returns

The task that completes the asynchronous operation.

Applies to

CreateAppleTemplateRegistrationAsync(String, String, IEnumerable<String>)

Asynchronously creates an Apple template registration. To specify additional properties at creation, use the CreateRegistrationAsync<T>(T) method.

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

Parameters

deviceToken
String

The device token.

jsonPayload
String

The JSON payload.

tags
IEnumerable<String>

The tags.

Returns

The task that completes the asynchronous operation.

Applies to

CreateAppleTemplateRegistrationAsync(String, String, IEnumerable<String>, CancellationToken)

Asynchronously creates an Apple template registration. To specify additional properties at creation, use the CreateRegistrationAsync<T>(T) method.

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

Parameters

deviceToken
String

The device token.

jsonPayload
String

The JSON payload.

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