NotificationHubClient.CreateOrUpdateRegistrationAsync Method

Definition

Asynchronously creates or updates the client registration.

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

The type of registration.

Parameters
registration
T

The registration to be created or updated.

Returns
Task<T>

The task object representing the asynchronous operation.

Exceptions

Thrown when RegistrationId object is null