NotificationHubClient.CreateAdmTemplateRegistrationAsync Method

Definition

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>
override this.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.

Implements

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>
override this.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.

Implements

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>
override this.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.

Implements

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>
override this.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.

Implements

Applies to