Share via


IHostedServiceOperations.BeginDeletingExtensionAsync Method (String, String, CancellationToken)

 

Asynchronously initiates the deletion of the specified extension from a cloud service.

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

Syntax

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

Parameters

  • serviceName
    Type: System.String

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

  • 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<AzureOperationResponse>

An OperationResponse object that includes an HTTP status code and request ID.

Remarks

For more information about deleting an extension from a service, see the following resources:

See Also

IHostedServiceOperations Interface
Microsoft.WindowsAzure.Management.Compute Namespace

Return to top