StatusCode Property

// .NET 5.0
// System.Net.Http, Version=5.0.0.0, PublicKeyToken=b03f5f7f11d50a3a

namespace System.Net.Http
{
    public class HttpRequestException : Exception
    {
        public HttpStatusCode? StatusCode { get; }
    }
}

Usage

Metadata

ID
P:System.Net.Http.HttpRequestException.StatusCode

Declarations

Platform Version Assembly
.NET 5.0 System.Net.Http, Version=5.0.0.0, PublicKeyToken=b03f5f7f11d50a3a
.NET + Platform Extensions 5.0 System.Net.Http, Version=5.0.0.0, PublicKeyToken=b03f5f7f11d50a3a