Table of Contents

Class MsalThrottledServiceException

Namespace
Microsoft.Identity.Client
Assembly
Microsoft.Identity.Client.dll

Exception type thrown when MSAL detects that an application is trying to acquire a token too often, as a result of:

  • A previous request resulted in an HTTP response containing a Retry-After header which was not followed.
  • A previous request resulted in an HTTP 429 or 5xx, which indicates a problem with the server.

The properties of this exception are identical to the original exception

For more details see https://aka.ms/msal-net-throttling

public class MsalThrottledServiceException : MsalServiceException, ISerializable
Inheritance
MsalThrottledServiceException
Implements
Inherited Members

Constructors

MsalThrottledServiceException(MsalServiceException)

Constructor

public MsalThrottledServiceException(MsalServiceException originalException)

Parameters

originalException MsalServiceException

Properties

OriginalServiceException

The original service exception that triggered the throttling.

public MsalServiceException OriginalServiceException { get; }

Property Value

MsalServiceException