Class MsalClientException
This exception class represents errors that are local to the library or the device. Contrary to MsalServiceException which represent errors happening from the Azure AD service or the network. For more details, see https://aka.ms/msal-net-exceptions
public class MsalClientException : MsalException, ISerializable
- Inheritance
-
MsalClientException
- Implements
- Inherited Members
Constructors
MsalClientException(string)
Initializes a new instance of the exception class with a specified error code.
public MsalClientException(string errorCode)
Parameters
errorCode
stringThe error code returned by the service or generated by client. This is the code you can rely on for exception handling.
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)
Parameters
errorCode
stringThe error code returned by the service or generated by client. This is the code you can rely on for exception handling.
errorMessage
stringThe error message that explains the reason for the exception.
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)