Partager via


NotificationHubResource.GetPnsCredentialsAsync(CancellationToken) Méthode

Définition

Répertorie les informations d’identification PNS associées à un hub de notification .

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

Paramètres

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

S’applique à