IOperatingSystemOperations.ListAsync Method (CancellationToken)
Asynchronously lists the guest operating systems that are currently available.
Namespace: Microsoft.WindowsAzure.Management.Compute
Assembly: Microsoft.WindowsAzure.Management.Compute (in Microsoft.WindowsAzure.Management.Compute.dll)
Syntax
Task<OperatingSystemListResponse> ListAsync(
CancellationToken cancellationToken
)
Task<OperatingSystemListResponse^>^ ListAsync(
CancellationToken cancellationToken
)
abstract ListAsync :
cancellationToken:CancellationToken -> Task<OperatingSystemListResponse>
Function ListAsync (
cancellationToken As CancellationToken
) As Task(Of OperatingSystemListResponse)
Parameters
cancellationToken
Type: System.Threading.CancellationTokenThe cancellation token.
Return Value
Type: System.Threading.Tasks.Task<OperatingSystemListResponse>
The OperatingSystemListResponse object that contains the list of available operating systems.
Remarks
For more information about listing available operating systems, see the following resources:
See Also
IOperatingSystemOperations Interface
Microsoft.WindowsAzure.Management.Compute Namespace
Return to top