Freigeben über


INotificationHubClient.GetInstallationAsync Methode

Definition

Überlädt

GetInstallationAsync(String)

Ruft die Installation asynchron ab.

GetInstallationAsync(String, CancellationToken)

Ruft die Installation asynchron ab.

GetInstallationAsync(String)

Ruft die Installation asynchron ab.

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)

Parameter

installationId
String

Der Installationsbezeichner.

Gibt zurück

Eine Aufgabe, die den asynchronen Vorgang darstellt.

Ausnahmen

Wird ausgelöst, wenn das installationsId-Objekt NULL ist

Gilt für:

GetInstallationAsync(String, CancellationToken)

Ruft die Installation asynchron ab.

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)

Parameter

installationId
String

Der Installationsbezeichner.

cancellationToken
CancellationToken

Ein CancellationToken, das beim Warten auf den Abschluss einer Aufgabe überwacht werden soll.

Gibt zurück

Eine Aufgabe, die den asynchronen Vorgang darstellt.

Ausnahmen

Wird ausgelöst, wenn das installationsId-Objekt NULL ist

Gilt für: