Share via


IHostedServiceOperations.GetExtensionAsync Method (String, String, CancellationToken)

 

Asynchronously retrieves information about a specified extension that was added to a cloud service.

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

Syntax

Task<HostedServiceGetExtensionResponse> GetExtensionAsync(
    string serviceName,
    string extensionId,
    CancellationToken cancellationToken
)
Task<HostedServiceGetExtensionResponse^>^ GetExtensionAsync(
    String^ serviceName,
    String^ extensionId,
    CancellationToken cancellationToken
)
abstract GetExtensionAsync : 
        serviceName:string *
        extensionId:string *
        cancellationToken:CancellationToken -> Task<HostedServiceGetExtensionResponse>
Function GetExtensionAsync (
    serviceName As String,
    extensionId As String,
    cancellationToken As CancellationToken
) As Task(Of HostedServiceGetExtensionResponse)

Parameters

  • serviceName
    Type: System.String

    The name of the cloud service from which the extension information should be retrieved.

  • extensionId
    Type: System.String

    The identifier that was assigned to the extension when it was added to the cloud service.

Return Value

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

The HostedServiceGetExtensionResponse object that contains the extension information from the cloud service.

Remarks

For more information about retrieving extension information, see the following resources:

See Also

IHostedServiceOperations Interface
Microsoft.WindowsAzure.Management.Compute Namespace

Return to top