NotificationHubNamespaceResource.GetNotificationHubAsync Methode
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Listet die Notification Hubs auf, die einem Namespace zugeordnet sind.
- Anfordern von Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/notificationHubs/{notificationHubName}
- Vorgang IdNotificationHubs_Get
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.NotificationHubs.NotificationHubResource>> GetNotificationHubAsync (string notificationHubName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetNotificationHubAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.NotificationHubs.NotificationHubResource>>
override this.GetNotificationHubAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.NotificationHubs.NotificationHubResource>>
Public Overridable Function GetNotificationHubAsync (notificationHubName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of NotificationHubResource))
Parameter
- notificationHubName
- String
Der Name des Notification Hubs.
- cancellationToken
- CancellationToken
Das zu verwendende Abbruchtoken.
Gibt zurück
Ausnahmen
notificationHubName
ist eine leere Zeichenfolge und wurde erwartet, dass sie nicht leer ist.
notificationHubName
ist NULL.
Gilt für:
Feedback
https://aka.ms/ContentUserFeedback.
Bald verfügbar: Im Laufe des Jahres 2024 werden wir GitHub-Issues stufenweise als Feedbackmechanismus für Inhalte abbauen und durch ein neues Feedbacksystem ersetzen. Weitere Informationen finden Sie unterFeedback senden und anzeigen für