Share via


KeyVaultReferenceException Class

Definition

The exception that is thrown when there is an error resolving a reference to Azure Key Vault resource.

public class KeyVaultReferenceException : Exception
type KeyVaultReferenceException = class
    inherit Exception
Public Class KeyVaultReferenceException
Inherits Exception
Inheritance
KeyVaultReferenceException

Constructors

KeyVaultReferenceException(String, Exception)

Initializes a new instance of the System.Exception class with a specified error message and a reference to the inner exception that is the cause of this exception.

Properties

ErrorCode

The error code, if available, describing the cause of the exception.

Etag

The etag of the Key Vault reference that caused the exception.

Key

The key of the Key Vault reference that caused the exception.

Label

The label of the Key Vault reference that caused the exception.

Message

Gets a message that describes the current exception. Returns The error message that explains the reason for the exception, or an empty string("").

SecretIdentifier

The secret identifier used by the Azure Key Vault reference that caused the exception.

Applies to