Class CredentialUnavailableException
An exception indicating a Azure.Core.TokenCredential did not attempt to authenticate and retrieve Azure.Core.AccessToken, as its prerequisite information or state was not available.
public class CredentialUnavailableException : AuthenticationFailedException, ISerializable
- Inheritance
-
CredentialUnavailableException
- Implements
- Derived
- Inherited Members
Constructors
CredentialUnavailableException(SerializationInfo, StreamingContext)
A constructor used for serialization.
protected CredentialUnavailableException(SerializationInfo info, StreamingContext context)
Parameters
info
SerializationInfoThe SerializationInfo.
context
StreamingContextThe StreamingContext.
CredentialUnavailableException(string)
Creates a new CredentialUnavailableException with the specified message.
public CredentialUnavailableException(string message)
Parameters
message
stringThe message describing the authentication failure.
CredentialUnavailableException(string, Exception)
Creates a new CredentialUnavailableException with the specified message.
public CredentialUnavailableException(string message, Exception innerException)