MsalUiRequiredException Constructors

Definition

Overloads

MsalUiRequiredException(String, String)

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

MsalUiRequiredException(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.

MsalUiRequiredException(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.

MsalUiRequiredException(String, String)

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

public MsalUiRequiredException (string errorCode, string errorMessage);
new Microsoft.Identity.Client.MsalUiRequiredException : string * string -> Microsoft.Identity.Client.MsalUiRequiredException
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

MsalUiRequiredException(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 MsalUiRequiredException (string errorCode, string errorMessage, Exception innerException);
new Microsoft.Identity.Client.MsalUiRequiredException : string * string * Exception -> Microsoft.Identity.Client.MsalUiRequiredException
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

MsalUiRequiredException(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 MsalUiRequiredException (string errorCode, string errorMessage, Exception innerException, Microsoft.Identity.Client.UiRequiredExceptionClassification classification);
new Microsoft.Identity.Client.MsalUiRequiredException : string * string * Exception * Microsoft.Identity.Client.UiRequiredExceptionClassification -> Microsoft.Identity.Client.MsalUiRequiredException
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