共用方式為


NamespacesOperationsExtensions.ListAsync Method

Definition

Lists all the available Namespaces within a subscription, irrespective of the resource groups.

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.EventHub.Fluent.Models.EHNamespaceInner>> ListAsync (this Microsoft.Azure.Management.EventHub.Fluent.INamespacesOperations operations, System.Threading.CancellationToken cancellationToken = default);
static member ListAsync : Microsoft.Azure.Management.EventHub.Fluent.INamespacesOperations * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.EventHub.Fluent.Models.EHNamespaceInner>>
<Extension()>
Public Function ListAsync (operations As INamespacesOperations, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of EHNamespaceInner))

Parameters

operations
INamespacesOperations

The operations group for this extension method.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to