Share via


NotificationHubClient.PatchInstallationAsync Method

Definition

Overloads

PatchInstallationAsync(String, IList<PartialUpdateOperation>)

Patches the installation asynchronously.

PatchInstallationAsync(String, IList<PartialUpdateOperation>, CancellationToken)

Patches the installation asynchronously.

PatchInstallationAsync(String, IList<PartialUpdateOperation>)

Patches the installation asynchronously.

public System.Threading.Tasks.Task PatchInstallationAsync (string installationId, System.Collections.Generic.IList<Microsoft.Azure.NotificationHubs.PartialUpdateOperation> operations);
abstract member PatchInstallationAsync : string * System.Collections.Generic.IList<Microsoft.Azure.NotificationHubs.PartialUpdateOperation> -> System.Threading.Tasks.Task
override this.PatchInstallationAsync : string * System.Collections.Generic.IList<Microsoft.Azure.NotificationHubs.PartialUpdateOperation> -> System.Threading.Tasks.Task
Public Function PatchInstallationAsync (installationId As String, operations As IList(Of PartialUpdateOperation)) As Task

Parameters

installationId
String

The installation identifier.

operations
IList<PartialUpdateOperation>

The collection of update operations.

Returns

A task that represents the asynchronous operation.

Implements

Exceptions

Thrown when the installationId or operations object is null

Thrown when the operations list is empty

Applies to

PatchInstallationAsync(String, IList<PartialUpdateOperation>, CancellationToken)

Patches the installation asynchronously.

public System.Threading.Tasks.Task PatchInstallationAsync (string installationId, System.Collections.Generic.IList<Microsoft.Azure.NotificationHubs.PartialUpdateOperation> operations, System.Threading.CancellationToken cancellationToken);
abstract member PatchInstallationAsync : string * System.Collections.Generic.IList<Microsoft.Azure.NotificationHubs.PartialUpdateOperation> * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.PatchInstallationAsync : string * System.Collections.Generic.IList<Microsoft.Azure.NotificationHubs.PartialUpdateOperation> * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function PatchInstallationAsync (installationId As String, operations As IList(Of PartialUpdateOperation), cancellationToken As CancellationToken) As Task

Parameters

installationId
String

The installation identifier.

operations
IList<PartialUpdateOperation>

The collection of update operations.

cancellationToken
CancellationToken

A CancellationToken to observe while waiting for a task to complete.

Returns

A task that represents the asynchronous operation.

Implements

Exceptions

Thrown when the installationId or operations object is null

Thrown when the operations list is empty

Applies to