Share via


IHostedServiceOperations.ListAsync Method (CancellationToken)

 

Asynchronously lists the cloud services in a subscription.

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

Syntax

Task<HostedServiceListResponse> ListAsync(
    CancellationToken cancellationToken
)
Task<HostedServiceListResponse^>^ ListAsync(
    CancellationToken cancellationToken
)
abstract ListAsync : 
        cancellationToken:CancellationToken -> Task<HostedServiceListResponse>
Function ListAsync (
    cancellationToken As CancellationToken
) As Task(Of HostedServiceListResponse)

Parameters

Return Value

Type: System.Threading.Tasks.Task<HostedServiceListResponse>

The HostedServiceListResponse object that contains a list of cloud services in a subscription.

Remarks

For more information about listing cloud services, see the following resources:

See Also

IHostedServiceOperations Interface
Microsoft.WindowsAzure.Management.Compute Namespace

Return to top