你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

NamespacesOperationsExtensions.ListAllAsync 方法

定义

列出订阅中的所有可用命名空间,而不考虑 resourceGroup。

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

参数

operations
INamespacesOperations

此扩展方法的操作组。

cancellationToken
CancellationToken

取消标记。

返回

适用于