Compartir a través de


MsalClaimsChallengeException Constructors

Definition

Overloads

MsalClaimsChallengeException(String, String)

Initializes a new instance of the exception class with a specified error code and error message.

MsalClaimsChallengeException(String, String, Exception)

Initializes a new instance of the exception class with a specified error code, error message and inner exception indicating the root cause.

MsalClaimsChallengeException(String, String, Exception, UiRequiredExceptionClassification)

Initializes a new instance of the exception class with a specified error code, error message and inner exception indicating the root cause.

MsalClaimsChallengeException(String, String)

Initializes a new instance of the exception class with a specified error code and error message.

public MsalClaimsChallengeException (string errorCode, string errorMessage);
new Microsoft.Identity.Client.MsalClaimsChallengeException : string * string -> Microsoft.Identity.Client.MsalClaimsChallengeException
Public Sub New (errorCode As String, errorMessage As String)

Parameters

errorCode
String

The error code returned by the service or generated by the client. This is the code you can rely on for exception handling.

errorMessage
String

The error message that explains the reason for the exception.

Applies to

MsalClaimsChallengeException(String, String, Exception)

Initializes a new instance of the exception class with a specified error code, error message and inner exception indicating the root cause.

public MsalClaimsChallengeException (string errorCode, string errorMessage, Exception innerException);
new Microsoft.Identity.Client.MsalClaimsChallengeException : string * string * Exception -> Microsoft.Identity.Client.MsalClaimsChallengeException
Public Sub New (errorCode As String, errorMessage As String, innerException As Exception)

Parameters

errorCode
String

The error code returned by the service or generated by the client. This is the code you can rely on for exception handling.

errorMessage
String

The error message that explains the reason for the exception.

innerException
Exception

Represents the root cause of the exception.

Applies to

MsalClaimsChallengeException(String, String, Exception, UiRequiredExceptionClassification)

Initializes a new instance of the exception class with a specified error code, error message and inner exception indicating the root cause.

public MsalClaimsChallengeException (string errorCode, string errorMessage, Exception innerException, Microsoft.Identity.Client.UiRequiredExceptionClassification classification);
new Microsoft.Identity.Client.MsalClaimsChallengeException : string * string * Exception * Microsoft.Identity.Client.UiRequiredExceptionClassification -> Microsoft.Identity.Client.MsalClaimsChallengeException
Public Sub New (errorCode As String, errorMessage As String, innerException As Exception, classification As UiRequiredExceptionClassification)

Parameters

errorCode
String

The error code returned by the service or generated by the client. This is the code you can rely on for exception handling.

errorMessage
String

The error message that explains the reason for the exception.

innerException
Exception

Represents the root cause of the exception.

classification
UiRequiredExceptionClassification

A higher level description for this exception, that allows handling code to understand what type of action it needs to take to resolve the issue.

Applies to