Share via


HostedServiceOperationsExtensions.BeginDeletingExtensionAsync Method (IHostedServiceOperations, String, String)

 

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

public static Task<AzureOperationResponse> BeginDeletingExtensionAsync(
    this IHostedServiceOperations operations,
    string serviceName,
    string extensionId
)
public:
[ExtensionAttribute]
static Task<AzureOperationResponse^>^ BeginDeletingExtensionAsync(
    IHostedServiceOperations^ operations,
    String^ serviceName,
    String^ extensionId
)
static member BeginDeletingExtensionAsync : 
        operations:IHostedServiceOperations *
        serviceName:string *
        extensionId:string -> Task<AzureOperationResponse>
<ExtensionAttribute>
Public Shared Function BeginDeletingExtensionAsync (
    operations As IHostedServiceOperations,
    serviceName As String,
    extensionId As String
) 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

HostedServiceOperationsExtensions Class
Microsoft.WindowsAzure.Management.Compute Namespace

Return to top