Table of Contents

Class CredentialUnavailableException

Namespace
Azure.Identity
Assembly
Azure.Identity.dll

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 SerializationInfo

The SerializationInfo.

context StreamingContext

The StreamingContext.

CredentialUnavailableException(string)

Creates a new CredentialUnavailableException with the specified message.

public CredentialUnavailableException(string message)

Parameters

message string

The message describing the authentication failure.

CredentialUnavailableException(string, Exception)

Creates a new CredentialUnavailableException with the specified message.

public CredentialUnavailableException(string message, Exception innerException)

Parameters

message string

The message describing the authentication failure.

innerException Exception

The exception underlying the authentication failure.