IVirtualMachineDiskOperations.ListDisksAsync Method (CancellationToken)
Asynchronously retrieves a list of disks in the user disk repository.
Namespace: Microsoft.WindowsAzure.Management.Compute
Assembly: Microsoft.WindowsAzure.Management.Compute (in Microsoft.WindowsAzure.Management.Compute.dll)
Syntax
Task<VirtualMachineDiskListResponse> ListDisksAsync(
CancellationToken cancellationToken
)
Task<VirtualMachineDiskListResponse^>^ ListDisksAsync(
CancellationToken cancellationToken
)
abstract ListDisksAsync :
cancellationToken:CancellationToken -> Task<VirtualMachineDiskListResponse>
Function ListDisksAsync (
cancellationToken As CancellationToken
) As Task(Of VirtualMachineDiskListResponse)
Parameters
cancellationToken
Type: System.Threading.CancellationTokenThe cancellation token.
Return Value
Type: System.Threading.Tasks.Task<VirtualMachineDiskListResponse>
The VirtualMachineDiskListResponse object that contains the list of disks.
Remarks
For more information about retrieving a list of disks, see the following resources:
See Also
IVirtualMachineDiskOperations Interface
Microsoft.WindowsAzure.Management.Compute Namespace
Return to top