HttpProtocolException.ErrorCode Property

Definition

Gets the HTTP/2 or HTTP/3 error code associated with this exception.

C#
public long ErrorCode { get; }

Property Value

Applies to

Product Versions
.NET 7, 8, 9, 10