Share via


INotificationHubClient.GetInstallationAsync Method

Definition

Overloads

GetInstallationAsync(String)

Gets the installation asynchronously.

GetInstallationAsync(String, CancellationToken)

Gets the installation asynchronously.

GetInstallationAsync(String)

Gets the installation asynchronously.

public System.Threading.Tasks.Task<Microsoft.Azure.NotificationHubs.Installation> GetInstallationAsync (string installationId);
abstract member GetInstallationAsync : string -> System.Threading.Tasks.Task<Microsoft.Azure.NotificationHubs.Installation>
Public Function GetInstallationAsync (installationId As String) As Task(Of Installation)

Parameters

installationId
String

The installation identifier.

Returns

A task that represents the asynchronous operation.

Exceptions

Thrown when the installationId object is null

Applies to

GetInstallationAsync(String, CancellationToken)

Gets the installation asynchronously.

public System.Threading.Tasks.Task<Microsoft.Azure.NotificationHubs.Installation> GetInstallationAsync (string installationId, System.Threading.CancellationToken cancellationToken);
abstract member GetInstallationAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.NotificationHubs.Installation>
Public Function GetInstallationAsync (installationId As String, cancellationToken As CancellationToken) As Task(Of Installation)

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