NamespacesOperationsExtensions.ListAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.Models.EHNamespace>> ListAsync (this Microsoft.Azure.Management.EventHub.INamespacesOperations operations, System.Threading.CancellationToken cancellationToken = default);
static member ListAsync : Microsoft.Azure.Management.EventHub.INamespacesOperations * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.EventHub.Models.EHNamespace>>
<Extension()>
Public Function ListAsync (operations As INamespacesOperations, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of EHNamespace))
Parameters
- operations
- INamespacesOperations
The operations group for this extension method.
- cancellationToken
- CancellationToken
The cancellation token.