IAffinityGroupOperations.ListAsync 方法
Asynchronously lists the affinity groups that are associated with the specified subscription.
命名空间: Microsoft.WindowsAzure.Management
程序集: Microsoft.WindowsAzure.Management(在 Microsoft.WindowsAzure.Management.dll 中)
用法
Dim instance As IAffinityGroupOperations
Dim cancellationToken As CancellationToken
Dim returnValue As Task(Of AffinityGroupListResponse)
returnValue = instance.ListAsync(cancellationToken)
声明
Function ListAsync ( _
cancellationToken As CancellationToken _
) As Task(Of AffinityGroupListResponse)
Task<AffinityGroupListResponse> ListAsync (
CancellationToken cancellationToken
)
Task<AffinityGroupListResponse^>^ ListAsync (
CancellationToken cancellationToken
)
Task<AffinityGroupListResponse> ListAsync (
CancellationToken cancellationToken
)
function ListAsync (
cancellationToken : CancellationToken
) : Task<AffinityGroupListResponse>
- cancellationToken
The cancellation token.
An AffinityGroupListResponse object that contains the list of affinity groups.
For more information about retrieving a list of affinity groups, see the following resources:
此类型的所有公开静态(在 Visual Basic 中为共享)成员均为线程安全型成员。但不保证所有实例成员都是线程安全的。
Windows Vista、Windows 7 和 Windows Server 2008
IAffinityGroupOperations 接口
IAffinityGroupOperations 成员
Microsoft.WindowsAzure.Management 命名空间