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);
Parameters
deviceToken
String

The device token.

jsonPayload
String

The JSON payload.

Returns

The task that completes the asynchronous operation.

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);
Parameters
deviceToken
String

The device token.

jsonPayload
String

The JSON payload.

tags
IEnumerable<String>

The tags.

Returns

The task that completes the asynchronous operation.