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);
- deviceToken
- String
The device token.
- jsonPayload
- String
The JSON payload.
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);
- deviceToken
- String
The device token.
- jsonPayload
- String
The JSON payload.
- tags
- IEnumerable<String>
The tags.
The task that completes the asynchronous operation.