AuthenticationFailedException Constructors

Definition

Overloads

AuthenticationFailedException(String)

Creates a new AuthenticationFailedException with the specified message.

AuthenticationFailedException(SerializationInfo, StreamingContext)

A constructor used for serialization.

AuthenticationFailedException(String, Exception)

Creates a new AuthenticationFailedException with the specified message.

AuthenticationFailedException(String)

Creates a new AuthenticationFailedException with the specified message.

public AuthenticationFailedException (string message);
new Azure.Identity.AuthenticationFailedException : string -> Azure.Identity.AuthenticationFailedException
Public Sub New (message As String)

Parameters

message
String

The message describing the authentication failure.

Applies to

AuthenticationFailedException(SerializationInfo, StreamingContext)

A constructor used for serialization.

protected AuthenticationFailedException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new Azure.Identity.AuthenticationFailedException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> Azure.Identity.AuthenticationFailedException
Protected Sub New (info As SerializationInfo, context As StreamingContext)

Parameters

Applies to

AuthenticationFailedException(String, Exception)

Creates a new AuthenticationFailedException with the specified message.

public AuthenticationFailedException (string message, Exception innerException);
new Azure.Identity.AuthenticationFailedException : string * Exception -> Azure.Identity.AuthenticationFailedException
Public Sub New (message As String, innerException As Exception)

Parameters

message
String

The message describing the authentication failure.

innerException
Exception

The exception underlying the authentication failure.

Applies to