Share via


IManagementCertificateOperations.DeleteAsync Method

Asynchonously deletes a management certificate from a subscription.

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

Usage

'Usage
Dim instance As IManagementCertificateOperations
Dim thumbprint As String
Dim cancellationToken As CancellationToken
Dim returnValue As Task(Of AzureOperationResponse)

returnValue = instance.DeleteAsync(thumbprint, cancellationToken)

Syntax

'Declaration
Function DeleteAsync ( _
    thumbprint As String, _
    cancellationToken As CancellationToken _
) As Task(Of AzureOperationResponse)
Task<AzureOperationResponse> DeleteAsync (
    string thumbprint,
    CancellationToken cancellationToken
)
Task<AzureOperationResponse^>^ DeleteAsync (
    String^ thumbprint, 
    CancellationToken cancellationToken
)
Task<AzureOperationResponse> DeleteAsync (
    String thumbprint, 
    CancellationToken cancellationToken
)
function DeleteAsync (
    thumbprint : String, 
    cancellationToken : CancellationToken
) : Task<AzureOperationResponse>

Parameters

  • thumbprint
    The thumbprint of the certificate to delete.
  • cancellationToken
    The cancellation token.

Return Value

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

Remarks

For more information about deleting management certificates, see Delete Management Certificate.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Vista, Windows 7, Windows Server 2008, Windows 8.1, Windows Server 2012 R2, Windows 8 and Windows Server 2012

Target Platforms

See Also

Reference

IManagementCertificateOperations Interface
IManagementCertificateOperations Members
Microsoft.WindowsAzure.Management Namespace