INotificationHubClient.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
Public Function PatchInstallationAsync (installationId As String, operations As IList(Of PartialUpdateOperation)) As Task

Parameters

installationId
System.String

The installation identifier.

operations
System.Collections.Generic.IList<PartialUpdateOperation>

The collection of update operations.

Returns

System.Threading.Tasks.Task

A task that represents the asynchronous operation.

Exceptions

System.ArgumentNullException

Thrown when the installationId or operations object is null

System.InvalidOperationException

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
Public Function PatchInstallationAsync (installationId As String, operations As IList(Of PartialUpdateOperation), cancellationToken As CancellationToken) As Task

Parameters

installationId
System.String

The installation identifier.

operations
System.Collections.Generic.IList<PartialUpdateOperation>

The collection of update operations.

cancellationToken
System.Threading.CancellationToken

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

Returns

System.Threading.Tasks.Task

A task that represents the asynchronous operation.

Exceptions

System.ArgumentNullException

Thrown when the installationId or operations object is null

System.InvalidOperationException

Thrown when the operations list is empty

Applies to