C# Класс Microsoft.Identity.Client.MsalServiceException

The exception type thrown when user returned by service does not match user in the request.
Наследование: MsalException
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
MsalServiceException ( string errorCode, string message ) : System

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

ToString ( ) : string

Creates and returns a string representation of the current exception.

Приватные методы

Метод Описание
MsalServiceException ( string errorCode, Exception innerException ) : System

Initializes a new instance of the exception class with a specified error code and a reference to the inner exception that is the cause of this exception.

MsalServiceException ( string errorCode, string message, string serviceErrorCodes, Exception innerException ) : System

Initializes a new instance of the exception class with a specified error code, error message and a reference to the inner exception that is the cause of this exception.

Описание методов

MsalServiceException() публичный Метод

Initializes a new instance of the exception class with a specified error code and error message.
public MsalServiceException ( string errorCode, string message ) : System
errorCode string The protocol error code returned by the service or generated by client. This is the code you can rely on for exception handling.
message string The error message that explains the reason for the exception.
Результат System

ToString() публичный Метод

Creates and returns a string representation of the current exception.
public ToString ( ) : string
Результат string