NotificationHubClient.CreateOrUpdateInstallationAsync(Installation) Method

Definition

Creates or updates a device installation asynchronously.

public System.Threading.Tasks.Task CreateOrUpdateInstallationAsync (Microsoft.Azure.NotificationHubs.Installation installation);
member this.CreateOrUpdateInstallationAsync : Microsoft.Azure.NotificationHubs.Installation -> System.Threading.Tasks.Task

Parameters

installation
Installation

The device installation object.

Returns

System.Threading.Tasks.Task

A task that represents the asynchronous operation.

Exceptions

System.ArgumentNullException

Thrown when the installation object is null

System.InvalidOperationException

InstallationId must be specified

Applies to