MsalServiceException.StatusCode Property

Definition

Gets the status code returned from HTTP layer. This status code is either the HttpStatusCode in the inner HttpRequestException response or the NavigateError Event Status Code in a browser based flow (see NavigateError Event Status Codes). You can use this code for purposes such as implementing retry logic or error investigation.

C#
public int StatusCode { get; }

Property Value

Applies to

Prodotto Versioni
Microsoft Authentication Library for .NET (MSAL.NET) latest