Share via


ServiceCertificateOperationsExtensions.DeleteAsync Method (IServiceCertificateOperations, ServiceCertificateDeleteParameters)

 

Asynchronously deletes a service certificate from the certificate store of a cloud service.

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

Syntax

public static Task<OperationStatusResponse> DeleteAsync(
    this IServiceCertificateOperations operations,
    ServiceCertificateDeleteParameters parameters
)
public:
[ExtensionAttribute]
static Task<OperationStatusResponse^>^ DeleteAsync(
    IServiceCertificateOperations^ operations,
    ServiceCertificateDeleteParameters^ parameters
)
static member DeleteAsync : 
        operations:IServiceCertificateOperations *
        parameters:ServiceCertificateDeleteParameters -> Task<OperationStatusResponse>
<ExtensionAttribute>
Public Shared Function DeleteAsync (
    operations As IServiceCertificateOperations,
    parameters As ServiceCertificateDeleteParameters
) As Task(Of OperationStatusResponse)

Parameters

Return Value

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

The T:Microsoft.WindowsAzure.Management.Compute.Models.ComputeOperationStatusResponse object that contains the status of the operation.

Remarks

If the asynchronous operation succeeds, the response includes the HTTP status code for the successful request. If the asynchronous operation failed, the response includes the HTTP status code for the failed request, and also includes error information about the failure.

For more information about deleting a service certificate, see the following resources:

See Also

ServiceCertificateOperationsExtensions Class
Microsoft.WindowsAzure.Management.Compute Namespace

Return to top