NotificationHubClient.CreateAppleTemplateRegistrationAsync Method

Definition

Overloads

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)

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);
member this.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
System.String

The device token.

jsonPayload
System.String

The JSON payload.

Returns

System.Threading.Tasks.Task<AppleTemplateRegistrationDescription>

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);
member this.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
System.String

The device token.

jsonPayload
System.String

The JSON payload.

tags
System.Collections.Generic.IEnumerable<System.String>

The tags.

Returns

System.Threading.Tasks.Task<AppleTemplateRegistrationDescription>

The task that completes the asynchronous operation.

Applies to