IAffinityGroupOperations.ListAsync Method (CancellationToken)
Asynchronously lists the affinity groups that are associated with the specified subscription.
Namespace: Microsoft.WindowsAzure.Management
Assembly: Microsoft.WindowsAzure.Management (in Microsoft.WindowsAzure.Management.dll)
Syntax
Task<AffinityGroupListResponse> ListAsync(
CancellationToken cancellationToken
)
Task<AffinityGroupListResponse^>^ ListAsync(
CancellationToken cancellationToken
)
abstract ListAsync :
cancellationToken:CancellationToken -> Task<AffinityGroupListResponse>
Function ListAsync (
cancellationToken As CancellationToken
) As Task(Of AffinityGroupListResponse)
Parameters
cancellationToken
Type: System.Threading.CancellationTokenThe cancellation token.
Return Value
Type: System.Threading.Tasks.Task<AffinityGroupListResponse>
An AffinityGroupListResponse object that contains the list of affinity groups.
Remarks
For more information about retrieving a list of affinity groups, see the following resources:
See Also
IAffinityGroupOperations Interface
Microsoft.WindowsAzure.Management Namespace
Return to top