NotificationHubClient.UpdateRegistrationAsync メソッド

定義

オーバーロード

UpdateRegistrationAsync<T>(T)

登録を非同期的に更新します。

UpdateRegistrationAsync<T>(T, CancellationToken)

登録を非同期的に更新します。

UpdateRegistrationAsync<T>(T)

登録を非同期的に更新します。

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)

型パラメーター

T

登録の種類。

パラメーター

registration
T

更新する登録です。

戻り値

Task<T>

更新の終了時に完了するタスク。

実装

例外

RegistrationId または ETag オブジェクトが null の場合にスローされます

適用対象

UpdateRegistrationAsync<T>(T, CancellationToken)

登録を非同期的に更新します。

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)

型パラメーター

T

登録の種類。

パラメーター

registration
T

更新する登録です。

cancellationToken
CancellationToken

タスクの完了を待機しているときに監視する CancellationToken

戻り値

Task<T>

更新の終了時に完了するタスク。

実装

例外

RegistrationId または ETag オブジェクトが null の場合にスローされます

適用対象