Dela via


INotificationHubClient.CreateAdmNativeRegistrationAsync Method

Definition

Overloads

CreateAdmNativeRegistrationAsync(String)

Asynchronously creates a native administrative registration.

CreateAdmNativeRegistrationAsync(String, IEnumerable<String>)

Asynchronously creates a native administrative registration.

CreateAdmNativeRegistrationAsync(String, CancellationToken)

Asynchronously creates a native administrative registration.

CreateAdmNativeRegistrationAsync(String, IEnumerable<String>, CancellationToken)

Asynchronously creates a native administrative registration.

CreateAdmNativeRegistrationAsync(String)

Asynchronously creates a native administrative registration.

public System.Threading.Tasks.Task<Microsoft.Azure.NotificationHubs.AdmRegistrationDescription> CreateAdmNativeRegistrationAsync (string admRegistrationId);
abstract member CreateAdmNativeRegistrationAsync : string -> System.Threading.Tasks.Task<Microsoft.Azure.NotificationHubs.AdmRegistrationDescription>
Public Function CreateAdmNativeRegistrationAsync (admRegistrationId As String) As Task(Of AdmRegistrationDescription)

Parameters

admRegistrationId
String

The administrative registration identifier.

Returns

The task object representing the asynchronous operation.

Applies to

CreateAdmNativeRegistrationAsync(String, IEnumerable<String>)

Asynchronously creates a native administrative registration.

public System.Threading.Tasks.Task<Microsoft.Azure.NotificationHubs.AdmRegistrationDescription> CreateAdmNativeRegistrationAsync (string admRegistrationId, System.Collections.Generic.IEnumerable<string> tags);
abstract member CreateAdmNativeRegistrationAsync : string * seq<string> -> System.Threading.Tasks.Task<Microsoft.Azure.NotificationHubs.AdmRegistrationDescription>
Public Function CreateAdmNativeRegistrationAsync (admRegistrationId As String, tags As IEnumerable(Of String)) As Task(Of AdmRegistrationDescription)

Parameters

admRegistrationId
String

The administrative registration identifier.

tags
IEnumerable<String>

The tags for the registration.

Returns

The task object representing the asynchronous operation.

Applies to

CreateAdmNativeRegistrationAsync(String, CancellationToken)

Asynchronously creates a native administrative registration.

public System.Threading.Tasks.Task<Microsoft.Azure.NotificationHubs.AdmRegistrationDescription> CreateAdmNativeRegistrationAsync (string admRegistrationId, System.Threading.CancellationToken cancellationToken);
abstract member CreateAdmNativeRegistrationAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.NotificationHubs.AdmRegistrationDescription>
Public Function CreateAdmNativeRegistrationAsync (admRegistrationId As String, cancellationToken As CancellationToken) As Task(Of AdmRegistrationDescription)

Parameters

admRegistrationId
String

The administrative registration identifier.

cancellationToken
CancellationToken

A CancellationToken to observe while waiting for a task to complete.

Returns

The task object representing the asynchronous operation.

Applies to

CreateAdmNativeRegistrationAsync(String, IEnumerable<String>, CancellationToken)

Asynchronously creates a native administrative registration.

public System.Threading.Tasks.Task<Microsoft.Azure.NotificationHubs.AdmRegistrationDescription> CreateAdmNativeRegistrationAsync (string admRegistrationId, System.Collections.Generic.IEnumerable<string> tags, System.Threading.CancellationToken cancellationToken);
abstract member CreateAdmNativeRegistrationAsync : string * seq<string> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.NotificationHubs.AdmRegistrationDescription>
Public Function CreateAdmNativeRegistrationAsync (admRegistrationId As String, tags As IEnumerable(Of String), cancellationToken As CancellationToken) As Task(Of AdmRegistrationDescription)

Parameters

admRegistrationId
String

The administrative registration identifier.

tags
IEnumerable<String>

The tags for the registration.

cancellationToken
CancellationToken

A CancellationToken to observe while waiting for a task to complete.

Returns

The task object representing the asynchronous operation.

Applies to