Sdílet prostřednictvím


MsalServiceException.Headers Property

Definition

Contains the HTTP headers from the server response that indicated an error.

public System.Net.Http.Headers.HttpResponseHeaders Headers { get; set; }
member this.Headers : System.Net.Http.Headers.HttpResponseHeaders with get, set
Public Property Headers As HttpResponseHeaders

Property Value

Remarks

When the server returns a 429 Too Many Requests error, a Retry-After should be set. It is important to read and respect the time specified in the Retry-After header to avoid a retry storm.

Applies to