다음을 통해 공유


MsalClientException Constructors

Definition

Overloads

MsalClientException(String)

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

MsalClientException(String, String)

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

MsalClientException(String, String, Exception)

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

MsalClientException(String)

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

public MsalClientException (string errorCode);
new Microsoft.Identity.Client.MsalClientException : string -> Microsoft.Identity.Client.MsalClientException
Public Sub New (errorCode As String)

Parameters

errorCode
String

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

Applies to

MsalClientException(String, String)

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

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

Parameters

errorCode
String

The error code returned by the service or generated by 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

MsalClientException(String, String, Exception)

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

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

Applies to