DeleteSecretOperation.HasValue Property
Definition
Important
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.
Returns true if the long-running operation completed successfully and has produced final result (accessible by Value property).
public override bool HasValue { get; }
member this.HasValue : bool
Public Overrides ReadOnly Property HasValue As Boolean
Property Value
Remarks
Always returns true. The DELETE call against Key Vault returns the DeletedSecret immediately (the value is populated from that response), even when soft-delete polling has not yet completed. Callers should still await WaitForCompletionAsync(CancellationToken) before purging or recovering the secret if soft-delete is enabled.