Partager via


NotificationHubClient.CreateRegistrationIdAsync Méthode

Définition

Surcharges

CreateRegistrationIdAsync()

Crée de manière asynchrone un identificateur d’inscription.

CreateRegistrationIdAsync(CancellationToken)

Crée de manière asynchrone un identificateur d’inscription.

CreateRegistrationIdAsync()

Crée de manière asynchrone un identificateur d’inscription.

public System.Threading.Tasks.Task<string> CreateRegistrationIdAsync ();
abstract member CreateRegistrationIdAsync : unit -> System.Threading.Tasks.Task<string>
override this.CreateRegistrationIdAsync : unit -> System.Threading.Tasks.Task<string>
Public Function CreateRegistrationIdAsync () As Task(Of String)

Retours

Objet de tâche représentant l'opération asynchrone.

Implémente

S’applique à

CreateRegistrationIdAsync(CancellationToken)

Crée de manière asynchrone un identificateur d’inscription.

public System.Threading.Tasks.Task<string> CreateRegistrationIdAsync (System.Threading.CancellationToken cancellationToken);
abstract member CreateRegistrationIdAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<string>
override this.CreateRegistrationIdAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<string>
Public Function CreateRegistrationIdAsync (cancellationToken As CancellationToken) As Task(Of String)

Paramètres

cancellationToken
CancellationToken

CancellationToken à observer en attendant qu'une tâche se termine.

Retours

Objet de tâche représentant l'opération asynchrone.

Implémente

S’applique à