Partager via


INamespaceManager.GetNotificationHubAsync Méthode

Définition

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 à