Table of Contents

Class AuthenticationFailedException

Namespace
Azure.Identity
Assembly
Azure.Identity.dll

An exception class raised for errors in authenticating client requests.

public class AuthenticationFailedException : Exception, ISerializable
Inheritance
AuthenticationFailedException
Implements
Derived
Inherited Members

Constructors

AuthenticationFailedException(SerializationInfo, StreamingContext)

A constructor used for serialization.

protected AuthenticationFailedException(SerializationInfo info, StreamingContext context)

Parameters

info SerializationInfo

The SerializationInfo.

context StreamingContext

The StreamingContext.

AuthenticationFailedException(string)

Creates a new AuthenticationFailedException with the specified message.

public AuthenticationFailedException(string message)

Parameters

message string

The message describing the authentication failure.

AuthenticationFailedException(string, Exception)

Creates a new AuthenticationFailedException with the specified message.

public AuthenticationFailedException(string message, Exception innerException)

Parameters

message string

The message describing the authentication failure.

innerException Exception

The exception underlying the authentication failure.