NotificationHubClient.GetInstallationAsync 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
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>
override this.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.
Implements
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>
override this.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.
Implements
Exceptions
Thrown when the installationId object is null
Applies to
Commenti e suggerimenti
https://aka.ms/ContentUserFeedback.
Presto disponibile: Nel corso del 2024 verranno gradualmente disattivati i problemi di GitHub come meccanismo di feedback per il contenuto e ciò verrà sostituito con un nuovo sistema di feedback. Per altre informazioni, vedereInvia e visualizza il feedback per