Share via


INotificationHubClient.DeleteInstallationAsync Method

Definition

Overloads

DeleteInstallationAsync(String)

Deletes the installation asynchronously.

DeleteInstallationAsync(String, CancellationToken)

Deletes the installation asynchronously.

DeleteInstallationAsync(String)

Deletes the installation asynchronously.

public System.Threading.Tasks.Task DeleteInstallationAsync (string installationId);
abstract member DeleteInstallationAsync : string -> System.Threading.Tasks.Task
Public Function DeleteInstallationAsync (installationId As String) As Task

Parameters

installationId
String

The installation identifier.

Returns

A task that represents the asynchronous operation.

Exceptions

Thrown when the installationId object is null

Applies to

DeleteInstallationAsync(String, CancellationToken)

Deletes the installation asynchronously.

public System.Threading.Tasks.Task DeleteInstallationAsync (string installationId, System.Threading.CancellationToken cancellationToken);
abstract member DeleteInstallationAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function DeleteInstallationAsync (installationId As String, cancellationToken As CancellationToken) As Task

Parameters

installationId
String

The installation identifier.

cancellationToken
CancellationToken

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

Returns

A task that represents the asynchronous operation.

Exceptions

Thrown when the installationId object is null

Applies to