HostedServiceOperationsExtensions.ListAsync Method (IHostedServiceOperations)
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
public static Task<HostedServiceListResponse> ListAsync(
this IHostedServiceOperations operations
)
public:
[ExtensionAttribute]
static Task<HostedServiceListResponse^>^ ListAsync(
IHostedServiceOperations^ operations
)
static member ListAsync :
operations:IHostedServiceOperations -> Task<HostedServiceListResponse>
<ExtensionAttribute>
Public Shared Function ListAsync (
operations As IHostedServiceOperations
) As Task(Of HostedServiceListResponse)
Parameters
operations
Type: Microsoft.WindowsAzure.Management.Compute.IHostedServiceOperationsThe IHostedServiceOperations object that specifies the cloud service operations.
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
HostedServiceOperationsExtensions Class
Microsoft.WindowsAzure.Management.Compute Namespace
Return to top