NotificationHubClient.UpdateRegistrationAsync Method

Definition

Asynchronously updates the registration.

public System.Threading.Tasks.Task<T> UpdateRegistrationAsync<T> (T registration) where T : Microsoft.Azure.NotificationHubs.RegistrationDescription;
Type Parameters
T

The type of registration.

Parameters
registration
T

The registration to update.

Returns
Task<T>

A task that will complete when the update finishes.

Exceptions

Thrown when RegistrationId or ETag object is null