Share via


INotificationHubClient.InstallationExistsAsync Method

Definition

Overloads

InstallationExistsAsync(String, CancellationToken)

Determines whether the given installation exists based upon the installation identifier.

InstallationExistsAsync(String)

Determines whether the given installation exists based upon the installation identifier.

InstallationExistsAsync(String, CancellationToken)

Determines whether the given installation exists based upon the installation identifier.

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

Parameters

installationId
String

The installation identifier.

cancellationToken
CancellationToken

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

Returns

Returns a task which is true if the installation exists, else false.

Applies to

InstallationExistsAsync(String)

Determines whether the given installation exists based upon the installation identifier.

public System.Threading.Tasks.Task<bool> InstallationExistsAsync (string installationId);
abstract member InstallationExistsAsync : string -> System.Threading.Tasks.Task<bool>
Public Function InstallationExistsAsync (installationId As String) As Task(Of Boolean)

Parameters

installationId
String

The installation identifier.

Returns

Returns a task which is true if the installation exists, else false.

Applies to