INotificationHubClient.CreateAdmTemplateRegistrationAsync 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
CreateAdmTemplateRegistrationAsync(String, String, IEnumerable<String>, CancellationToken) |
Asynchronously creates an administrative template registration. |
CreateAdmTemplateRegistrationAsync(String, String, CancellationToken) |
Asynchronously creates an administrative template registration. |
CreateAdmTemplateRegistrationAsync(String, String) |
Asynchronously creates an administrative template registration. |
CreateAdmTemplateRegistrationAsync(String, String, IEnumerable<String>) |
Asynchronously creates an administrative template registration. |
CreateAdmTemplateRegistrationAsync(String, String, IEnumerable<String>, CancellationToken)
Asynchronously creates an administrative template registration.
public System.Threading.Tasks.Task<Microsoft.Azure.NotificationHubs.AdmTemplateRegistrationDescription> CreateAdmTemplateRegistrationAsync (string admRegistrationId, string jsonPayload, System.Collections.Generic.IEnumerable<string> tags, System.Threading.CancellationToken cancellationToken);
abstract member CreateAdmTemplateRegistrationAsync : string * string * seq<string> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.NotificationHubs.AdmTemplateRegistrationDescription>
Public Function CreateAdmTemplateRegistrationAsync (admRegistrationId As String, jsonPayload As String, tags As IEnumerable(Of String), cancellationToken As CancellationToken) As Task(Of AdmTemplateRegistrationDescription)
Parameters
- admRegistrationId
- String
The administrative registration identifier.
- 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 object representing the asynchronous operation.
Applies to
CreateAdmTemplateRegistrationAsync(String, String, CancellationToken)
Asynchronously creates an administrative template registration.
public System.Threading.Tasks.Task<Microsoft.Azure.NotificationHubs.AdmTemplateRegistrationDescription> CreateAdmTemplateRegistrationAsync (string admRegistrationId, string jsonPayload, System.Threading.CancellationToken cancellationToken);
abstract member CreateAdmTemplateRegistrationAsync : string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.NotificationHubs.AdmTemplateRegistrationDescription>
Public Function CreateAdmTemplateRegistrationAsync (admRegistrationId As String, jsonPayload As String, cancellationToken As CancellationToken) As Task(Of AdmTemplateRegistrationDescription)
Parameters
- admRegistrationId
- String
The administrative registration identifier.
- jsonPayload
- String
The JSON payload.
- cancellationToken
- CancellationToken
A CancellationToken to observe while waiting for a task to complete.
Returns
The task object representing the asynchronous operation.
Applies to
CreateAdmTemplateRegistrationAsync(String, String)
Asynchronously creates an administrative template registration.
public System.Threading.Tasks.Task<Microsoft.Azure.NotificationHubs.AdmTemplateRegistrationDescription> CreateAdmTemplateRegistrationAsync (string admRegistrationId, string jsonPayload);
abstract member CreateAdmTemplateRegistrationAsync : string * string -> System.Threading.Tasks.Task<Microsoft.Azure.NotificationHubs.AdmTemplateRegistrationDescription>
Public Function CreateAdmTemplateRegistrationAsync (admRegistrationId As String, jsonPayload As String) As Task(Of AdmTemplateRegistrationDescription)
Parameters
- admRegistrationId
- String
The administrative registration identifier.
- jsonPayload
- String
The JSON payload.
Returns
The task object representing the asynchronous operation.
Applies to
CreateAdmTemplateRegistrationAsync(String, String, IEnumerable<String>)
Asynchronously creates an administrative template registration.
public System.Threading.Tasks.Task<Microsoft.Azure.NotificationHubs.AdmTemplateRegistrationDescription> CreateAdmTemplateRegistrationAsync (string admRegistrationId, string jsonPayload, System.Collections.Generic.IEnumerable<string> tags);
abstract member CreateAdmTemplateRegistrationAsync : string * string * seq<string> -> System.Threading.Tasks.Task<Microsoft.Azure.NotificationHubs.AdmTemplateRegistrationDescription>
Public Function CreateAdmTemplateRegistrationAsync (admRegistrationId As String, jsonPayload As String, tags As IEnumerable(Of String)) As Task(Of AdmTemplateRegistrationDescription)
Parameters
- admRegistrationId
- String
The administrative registration identifier.
- jsonPayload
- String
The JSON payload.
- tags
- IEnumerable<String>
The tags.
Returns
The task object representing the asynchronous operation.