ภาษา

DeleteSecretOperation.HasValue Property

Definition

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.

Applies to