INamespaceManager.GetNotificationHubAsync Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Surcharges
GetNotificationHubAsync(String) |
Obtient le hub de notification de manière asynchrone. |
GetNotificationHubAsync(String, CancellationToken) |
Obtient le hub de notification de manière asynchrone. |
GetNotificationHubAsync(String)
Obtient le hub de notification de manière asynchrone.
public System.Threading.Tasks.Task<Microsoft.Azure.NotificationHubs.NotificationHubDescription> GetNotificationHubAsync(string path);
abstract member GetNotificationHubAsync : string -> System.Threading.Tasks.Task<Microsoft.Azure.NotificationHubs.NotificationHubDescription>
Public Function GetNotificationHubAsync (path As String) As Task(Of NotificationHubDescription)
Paramètres
- path
- String
Chemin du hub de notification.
Retours
Tâche qui représente l’opération de hub d’obtention asynchrone
S’applique à
GetNotificationHubAsync(String, CancellationToken)
Obtient le hub de notification de manière asynchrone.
public System.Threading.Tasks.Task<Microsoft.Azure.NotificationHubs.NotificationHubDescription> GetNotificationHubAsync(string path, System.Threading.CancellationToken cancellationToken);
abstract member GetNotificationHubAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.NotificationHubs.NotificationHubDescription>
Public Function GetNotificationHubAsync (path As String, cancellationToken As CancellationToken) As Task(Of NotificationHubDescription)
Paramètres
- path
- String
Chemin du hub de notification.
- cancellationToken
- CancellationToken
CancellationToken à observer en attendant qu'une tâche se termine.
Retours
Tâche qui représente l’opération de hub d’obtention asynchrone
S’applique à
Azure SDK for .NET