Operations. Cancel Delete Certificate Async(String, String, IEnumerable<BatchClientBehavior>, CancellationToken) Method
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public System.Threading.Tasks.Task CancelDeleteCertificateAsync (string thumbprintAlgorithm, string thumbprint, System.Collections.Generic.IEnumerable<Microsoft.Azure.Batch.BatchClientBehavior> additionalBehaviors = default, System.Threading.CancellationToken cancellationToken = default);
member this.CancelDeleteCertificateAsync : string * string * seq<Microsoft.Azure.Batch.BatchClientBehavior> * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function CancelDeleteCertificateAsync (thumbprintAlgorithm As String, thumbprint As String, Optional additionalBehaviors As IEnumerable(Of BatchClientBehavior) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task
The algorithm used to derive the
thumbprint parameter. This must be sha1.
The thumbprint of the certificate that failed to delete.
A System.Threading.CancellationToken for controlling the lifetime of the asynchronous operation.
A System.Threading.Tasks.Task object that represents the asynchronous operation.
If you still wish to delete the certificate (instead of returning it to Active), you do not need to cancel the failed deletion. You must make sure that the certificate is not being used by any resources, and then you can try again to delete the certificate (see DeleteCertificateAsync(String, String, IEnumerable<BatchClientBehavior>, CancellationToken).
The cancel delete operation runs asynchronously.