MsalUiRequiredException Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기