Freigeben über


NotificationHubClient.DeleteRegistrationAsync Methode

Definition

Überlädt

DeleteRegistrationAsync(String, CancellationToken)

Löscht die Registrierung asynchron.

DeleteRegistrationAsync(String, String, CancellationToken)

Löscht die Registrierung asynchron.

DeleteRegistrationAsync(RegistrationDescription, CancellationToken)

Löscht die Registrierung asynchron.

DeleteRegistrationAsync(String)

Löscht die Registrierung asynchron.

DeleteRegistrationAsync(RegistrationDescription)

Löscht die Registrierung asynchron.

DeleteRegistrationAsync(String, String)

Löscht die Registrierung asynchron.

DeleteRegistrationAsync(String, CancellationToken)

Löscht die Registrierung asynchron.

public System.Threading.Tasks.Task DeleteRegistrationAsync (string registrationId, System.Threading.CancellationToken cancellationToken);
abstract member DeleteRegistrationAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.DeleteRegistrationAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function DeleteRegistrationAsync (registrationId As String, cancellationToken As CancellationToken) As Task

Parameter

registrationId
String

Die Registrierungs-ID.

cancellationToken
CancellationToken

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

Gibt zurück

Der Task, der den asynchronen Vorgang abschließt.

Implementiert

Gilt für:

DeleteRegistrationAsync(String, String, CancellationToken)

Löscht die Registrierung asynchron.

public System.Threading.Tasks.Task DeleteRegistrationAsync (string registrationId, string etag, System.Threading.CancellationToken cancellationToken);
abstract member DeleteRegistrationAsync : string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.DeleteRegistrationAsync : string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function DeleteRegistrationAsync (registrationId As String, etag As String, cancellationToken As CancellationToken) As Task

Parameter

registrationId
String

Die Registrierungs-ID.

etag
String

Das Entitätstag.

cancellationToken
CancellationToken

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

Gibt zurück

Der Task, der den asynchronen Vorgang abschließt.

Implementiert

Ausnahmen

registrationId

Gilt für:

DeleteRegistrationAsync(RegistrationDescription, CancellationToken)

Löscht die Registrierung asynchron.

public System.Threading.Tasks.Task DeleteRegistrationAsync (Microsoft.Azure.NotificationHubs.RegistrationDescription registration, System.Threading.CancellationToken cancellationToken);
abstract member DeleteRegistrationAsync : Microsoft.Azure.NotificationHubs.RegistrationDescription * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.DeleteRegistrationAsync : Microsoft.Azure.NotificationHubs.RegistrationDescription * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function DeleteRegistrationAsync (registration As RegistrationDescription, cancellationToken As CancellationToken) As Task

Parameter

registration
RegistrationDescription

Die zu löschende Registrierung.

cancellationToken
CancellationToken

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

Gibt zurück

Der Task, der den asynchronen Vorgang abschließt.

Implementiert

Ausnahmen

Wird ausgelöst, wenn das Registrierungsobjekt NULL ist.

Gilt für:

DeleteRegistrationAsync(String)

Löscht die Registrierung asynchron.

public System.Threading.Tasks.Task DeleteRegistrationAsync (string registrationId);
abstract member DeleteRegistrationAsync : string -> System.Threading.Tasks.Task
override this.DeleteRegistrationAsync : string -> System.Threading.Tasks.Task
Public Function DeleteRegistrationAsync (registrationId As String) As Task

Parameter

registrationId
String

Die Registrierungs-ID.

Gibt zurück

Der Task, der den asynchronen Vorgang abschließt.

Implementiert

Gilt für:

DeleteRegistrationAsync(RegistrationDescription)

Löscht die Registrierung asynchron.

public System.Threading.Tasks.Task DeleteRegistrationAsync (Microsoft.Azure.NotificationHubs.RegistrationDescription registration);
abstract member DeleteRegistrationAsync : Microsoft.Azure.NotificationHubs.RegistrationDescription -> System.Threading.Tasks.Task
override this.DeleteRegistrationAsync : Microsoft.Azure.NotificationHubs.RegistrationDescription -> System.Threading.Tasks.Task
Public Function DeleteRegistrationAsync (registration As RegistrationDescription) As Task

Parameter

registration
RegistrationDescription

Die zu löschende Registrierung.

Gibt zurück

Der Task, der den asynchronen Vorgang abschließt.

Implementiert

Ausnahmen

Wird ausgelöst, wenn das Registrierungsobjekt NULL ist.

Gilt für:

DeleteRegistrationAsync(String, String)

Löscht die Registrierung asynchron.

public System.Threading.Tasks.Task DeleteRegistrationAsync (string registrationId, string etag);
abstract member DeleteRegistrationAsync : string * string -> System.Threading.Tasks.Task
override this.DeleteRegistrationAsync : string * string -> System.Threading.Tasks.Task
Public Function DeleteRegistrationAsync (registrationId As String, etag As String) As Task

Parameter

registrationId
String

Die Registrierungs-ID.

etag
String

Das Entitätstag.

Gibt zurück

Der Task, der den asynchronen Vorgang abschließt.

Implementiert

Ausnahmen

registrationId

Gilt für: