你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

NotificationHubClient.InstallationExistsAsync Method

Definition

Overloads

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.

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>
override this.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.

Implements

Applies to

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>
override this.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.

Implements

Applies to