Freigeben über


NotificationHubClient.CreateRegistrationIdAsync Methode

Definition

Überlädt

CreateRegistrationIdAsync()

Erstellt asynchron einen Registrierungsbezeichner.

CreateRegistrationIdAsync(CancellationToken)

Erstellt asynchron einen Registrierungsbezeichner.

CreateRegistrationIdAsync()

Erstellt asynchron einen Registrierungsbezeichner.

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)

Gibt zurück

Das Aufgabenobjekt, das den asynchronen Vorgang darstellt.

Implementiert

Gilt für:

CreateRegistrationIdAsync(CancellationToken)

Erstellt asynchron einen Registrierungsbezeichner.

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)

Parameter

cancellationToken
CancellationToken

Ein CancellationToken, das beim Warten auf den Abschluss einer Aufgabe überwacht werden soll.

Gibt zurück

Das Aufgabenobjekt, das den asynchronen Vorgang darstellt.

Implementiert

Gilt für: