Share via


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.

public int StatusCode { get; }
member this.StatusCode : int
Public ReadOnly Property StatusCode As Integer

Property Value

Applies to