MsalThrottledUiRequiredException Class
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.
Exception type thrown when MSAL detects that an application is trying to acquire a token even though an MsalUiRequiredException was recently thrown. To mitigate this, when a MsalUiRequiredException is encountered, the application should switch to acquiring a token interactively. To better understand why the MsalUiRequiredException was thrown, inspect the Classification property.
The properties of this exception are identical to the original exception
For more details see https://aka.ms/msal-net-throttling
public class MsalThrottledUiRequiredException : Microsoft.Identity.Client.MsalUiRequiredException
type MsalThrottledUiRequiredException = class
inherit MsalUiRequiredException
Public Class MsalThrottledUiRequiredException
Inherits MsalUiRequiredException
- Inheritance
-
MsalThrottledUiRequiredException
Constructors
MsalThrottledUiRequiredException(MsalUiRequiredException) |
Constructor |
Fields
BrokerErrorCode |
An AdditionalExceptionData property key, available when using desktop brokers. (Inherited from MsalException) |
BrokerErrorContext |
An AdditionalExceptionData property key, available when using desktop brokers. (Inherited from MsalException) |
BrokerErrorStatus |
An AdditionalExceptionData property key, available when using desktop brokers. (Inherited from MsalException) |
BrokerErrorTag |
An AdditionalExceptionData property key, available when using desktop brokers. (Inherited from MsalException) |
BrokerTelemetry |
An AdditionalExceptionData property key, available when using desktop brokers. (Inherited from MsalException) |
ManagedIdentitySource |
An AdditionalExceptionData property key, available when using managed identity. (Inherited from MsalException) |
Properties
AdditionalExceptionData |
A property bag with extra details for this exception. (Inherited from MsalException) |
Claims |
Additional claims requested by the service. When this property is not null or empty, this means that the service requires the user to provide additional claims, such as doing two factor authentication. The are two cases:
|
Classification |
Classification of the conditional access error, enabling you to do more actions or inform the user depending on your scenario. See https://aka.ms/msal-net-UiRequiredException for more details. (Inherited from MsalUiRequiredException) |
CorrelationId |
An ID that can used to piece up a single authentication flow. (Inherited from MsalException) |
ErrorCode |
Gets the protocol error code returned by the service or generated by the client. This is the code you can rely on for exception handling. Values for this code are typically provided in constant strings in the derived exceptions types with explanations of mitigation. (Inherited from MsalException) |
Headers |
Contains the HTTP headers from the server response that indicated an error. (Inherited from MsalServiceException) |
IsRetryable |
Indicates if the previous operation that resulted in this exception should be retried. (Inherited from MsalException) |
OriginalServiceException |
The original exception that triggered the throttling. |
ResponseBody |
Raw response body received from the server. (Inherited from MsalServiceException) |
StatusCode |
Gets the status code returned from HTTP layer. This status code is either the |
Methods
ToJsonString() |
Allows serialization of most values of the exception into JSON. (Inherited from MsalException) |
ToString() |
Creates and returns a string representation of the current exception. (Inherited from MsalServiceException) |
UpdateIsRetryable() |
As per discussion with Evo, AAD (Inherited from MsalServiceException) |
Applies to
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기