INotificationHubClient.InstallationExistsAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Azure SDK for .NET