NotificationHubClient.UpdateRegistrationAsync<T>(T) Method

Definition

Asynchronously updates the registration.

public System.Threading.Tasks.Task<T> UpdateRegistrationAsync<T> (T registration) where T : Microsoft.Azure.NotificationHubs.RegistrationDescription;
member 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)

Type Parameters

T

The type of registration.

Parameters

registration
T

The registration to update.

Returns

System.Threading.Tasks.Task<T>

A task that will complete when the update finishes.

Exceptions

System.ArgumentNullException

Thrown when RegistrationId or ETag object is null

Applies to