Class KeyVaultReferenceException
- Assembly
- Microsoft.Extensions.Configuration.AzureAppConfiguration.dll
The exception that is thrown when there is an error resolving a reference to Azure Key Vault resource.
public class KeyVaultReferenceException : Exception, ISerializable
- Inheritance
-
KeyVaultReferenceException
- Implements
- Inherited Members
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.
public KeyVaultReferenceException(string message, Exception inner)
Parameters
message
stringThe error message that explains the reason for the exception.
inner
ExceptionThe exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. ///
Properties
ErrorCode
The error code, if available, describing the cause of the exception.
public string ErrorCode { get; set; }
Property Value
Etag
The etag of the Key Vault reference that caused the exception.
public string Etag { get; set; }
Property Value
Key
The key of the Key Vault reference that caused the exception.
public string Key { get; set; }
Property Value
Label
The label of the Key Vault reference that caused the exception.
public string Label { get; set; }
Property Value
Message
Gets a message that describes the current exception. Returns The error message that explains the reason for the exception, or an empty string("").
public override string Message { get; }
Property Value
SecretIdentifier
The secret identifier used by the Azure Key Vault reference that caused the exception.
public string SecretIdentifier { get; set; }