IHostedServiceOperations.ListExtensionsAsync Method (String, CancellationToken)
Asynchronously lists all of the extensions that were added to a cloud service.
Namespace: Microsoft.WindowsAzure.Management.Compute
Assembly: Microsoft.WindowsAzure.Management.Compute (in Microsoft.WindowsAzure.Management.Compute.dll)
Syntax
Task<HostedServiceListExtensionsResponse> ListExtensionsAsync(
string serviceName,
CancellationToken cancellationToken
)
Task<HostedServiceListExtensionsResponse^>^ ListExtensionsAsync(
String^ serviceName,
CancellationToken cancellationToken
)
abstract ListExtensionsAsync :
serviceName:string *
cancellationToken:CancellationToken -> Task<HostedServiceListExtensionsResponse>
Function ListExtensionsAsync (
serviceName As String,
cancellationToken As CancellationToken
) As Task(Of HostedServiceListExtensionsResponse)
Parameters
serviceName
Type: System.StringThe name of the cloud service from which the extensions should be listed.
cancellationToken
Type: System.Threading.CancellationTokenThe cancellation token.
Return Value
Type: System.Threading.Tasks.Task<HostedServiceListExtensionsResponse>
The HostedServiceListExtensionsResponse object that contains the list of extensions that were added to the cloud service.
Remarks
For more information about listing extensions, see List Extensions.
See Also
IHostedServiceOperations Interface
Microsoft.WindowsAzure.Management.Compute Namespace
Return to top