IVirtualMachineImageOperations.ListAsync Method

Asynchronously retrieves a list of the operating system images from the image repository.

Namespace: Microsoft.WindowsAzure.Management.Compute
Assembly: Microsoft.WindowsAzure.Management.Compute (in Microsoft.WindowsAzure.Management.Compute.dll)

Usage

'Usage
Dim instance As IVirtualMachineImageOperations
Dim cancellationToken As CancellationToken
Dim returnValue As Task(Of VirtualMachineImageListResponse)

returnValue = instance.ListAsync(cancellationToken)

Syntax

'Declaration
Function ListAsync ( _
    cancellationToken As CancellationToken _
) As Task(Of VirtualMachineImageListResponse)
Task<VirtualMachineImageListResponse> ListAsync (
    CancellationToken cancellationToken
)
Task<VirtualMachineImageListResponse^>^ ListAsync (
    CancellationToken cancellationToken
)
Task<VirtualMachineImageListResponse> ListAsync (
    CancellationToken cancellationToken
)
function ListAsync (
    cancellationToken : CancellationToken
) : Task<VirtualMachineImageListResponse>

Parameters

  • cancellationToken
    The cancellation token.

Return Value

The VirtualMachineImageListResponse object that contains the list of operating system images.

Remarks

For more information about retrieving a list of operating system images, see the following resources:

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Vista, Windows 7 and Windows Server 2008

Target Platforms

See Also

Reference

IVirtualMachineImageOperations Interface
IVirtualMachineImageOperations Members
Microsoft.WindowsAzure.Management.Compute Namespace