Freigeben über


NotificationHubsOperationsExtensions.GetPnsCredentialsAsync Methode

Definition

Listet die PNS-Anmeldeinformationen auf, die einem Notification Hub zugeordnet sind.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.NotificationHubs.Models.PnsCredentialsResource> GetPnsCredentialsAsync (this Microsoft.Azure.Management.NotificationHubs.INotificationHubsOperations operations, string resourceGroupName, string namespaceName, string notificationHubName, System.Threading.CancellationToken cancellationToken = default);
static member GetPnsCredentialsAsync : Microsoft.Azure.Management.NotificationHubs.INotificationHubsOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.NotificationHubs.Models.PnsCredentialsResource>
<Extension()>
Public Function GetPnsCredentialsAsync (operations As INotificationHubsOperations, resourceGroupName As String, namespaceName As String, notificationHubName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of PnsCredentialsResource)

Parameter

operations
INotificationHubsOperations

Die Vorgangsgruppe für diese Erweiterungsmethode.

resourceGroupName
String

Der Name der Ressourcengruppe.

namespaceName
String

Der Namespacename.

notificationHubName
String

Der Name des Notification Hubs.

cancellationToken
CancellationToken

Das Abbruchtoken.

Gibt zurück

Gilt für: