NotificationHubClient.UpdateRegistrationAsync Methode
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Überlädt
UpdateRegistrationAsync<T>(T) |
Aktualisiert die Registrierung asynchron. |
UpdateRegistrationAsync<T>(T, CancellationToken) |
Aktualisiert die Registrierung asynchron. |
UpdateRegistrationAsync<T>(T)
Aktualisiert die Registrierung asynchron.
public System.Threading.Tasks.Task<T> UpdateRegistrationAsync<T>(T registration) where T : Microsoft.Azure.NotificationHubs.RegistrationDescription;
abstract member UpdateRegistrationAsync : 'T -> System.Threading.Tasks.Task<'T (requires 'T :> Microsoft.Azure.NotificationHubs.RegistrationDescription)> (requires 'T :> Microsoft.Azure.NotificationHubs.RegistrationDescription)
override this.UpdateRegistrationAsync : 'T -> System.Threading.Tasks.Task<'T (requires 'T :> Microsoft.Azure.NotificationHubs.RegistrationDescription)> (requires 'T :> Microsoft.Azure.NotificationHubs.RegistrationDescription)
Public Function UpdateRegistrationAsync(Of T As RegistrationDescription) (registration As T) As Task(Of T)
Typparameter
- T
Der Registrierungstyp.
Parameter
- registration
- T
Die zu aktualisierende Registrierung.
Gibt zurück
Ein Task, der abgeschlossen wird, wenn der Aktualisierungsvorgang abgeschlossen ist.
Implementiert
Ausnahmen
Wird ausgelöst, wenn das RegistrationId- oder ETag-Objekt NULL ist.
Gilt für:
UpdateRegistrationAsync<T>(T, CancellationToken)
Aktualisiert die Registrierung asynchron.
public System.Threading.Tasks.Task<T> UpdateRegistrationAsync<T>(T registration, System.Threading.CancellationToken cancellationToken) where T : Microsoft.Azure.NotificationHubs.RegistrationDescription;
abstract member UpdateRegistrationAsync : 'T * System.Threading.CancellationToken -> System.Threading.Tasks.Task<'T (requires 'T :> Microsoft.Azure.NotificationHubs.RegistrationDescription)> (requires 'T :> Microsoft.Azure.NotificationHubs.RegistrationDescription)
override this.UpdateRegistrationAsync : 'T * System.Threading.CancellationToken -> System.Threading.Tasks.Task<'T (requires 'T :> Microsoft.Azure.NotificationHubs.RegistrationDescription)> (requires 'T :> Microsoft.Azure.NotificationHubs.RegistrationDescription)
Public Function UpdateRegistrationAsync(Of T As RegistrationDescription) (registration As T, cancellationToken As CancellationToken) As Task(Of T)
Typparameter
- T
Der Registrierungstyp.
Parameter
- registration
- T
Die zu aktualisierende Registrierung.
- cancellationToken
- CancellationToken
Ein CancellationToken, das beim Warten auf den Abschluss einer Aufgabe überwacht werden soll.
Gibt zurück
Ein Task, der abgeschlossen wird, wenn der Aktualisierungsvorgang abgeschlossen ist.
Implementiert
Ausnahmen
Wird ausgelöst, wenn das RegistrationId- oder ETag-Objekt NULL ist.
Gilt für:
Azure SDK for .NET