NotificationHubsOperationsExtensions.ListAsync Method

Definition

Lists the notification hubs associated with a namespace.

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

Parameters

operations
INotificationHubsOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

namespaceName
String

The namespace name.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to