Partager via


NotificationHubNamespaceResource.CheckNotificationHubAvailabilityAsync Méthode

Définition

Vérifie la disponibilité du notificationHub donné dans un espace de noms.

  • Chemin de la requête/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/checkNotificationHubAvailability
  • IdNotificationHubs_CheckNotificationHubAvailability d’opération
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.NotificationHubs.Models.NotificationHubAvailabilityResult>> CheckNotificationHubAvailabilityAsync (Azure.ResourceManager.NotificationHubs.Models.NotificationHubAvailabilityContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member CheckNotificationHubAvailabilityAsync : Azure.ResourceManager.NotificationHubs.Models.NotificationHubAvailabilityContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.NotificationHubs.Models.NotificationHubAvailabilityResult>>
override this.CheckNotificationHubAvailabilityAsync : Azure.ResourceManager.NotificationHubs.Models.NotificationHubAvailabilityContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.NotificationHubs.Models.NotificationHubAvailabilityResult>>
Public Overridable Function CheckNotificationHubAvailabilityAsync (content As NotificationHubAvailabilityContent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of NotificationHubAvailabilityResult))

Paramètres

content
NotificationHubAvailabilityContent

Nom notificationHub.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Exceptions

content a la valeur null.

S’applique à