3 references to VersionNegotiationError
System.Net.Http (3)
System\Net\Http\DiagnosticsHelper.cs (1)
92HttpRequestError.VersionNegotiationError => "version_negotiation_error",
System\Net\Http\SocketsHttpHandler\ConnectionPool\HttpConnectionPool.cs (2)
537throw new HttpRequestException(HttpRequestError.VersionNegotiationError, SR.Format(SR.net_http_requested_version_server_refused, request.Version, request.VersionPolicy), e); 871HttpRequestException ex = new(HttpRequestError.VersionNegotiationError, SR.Format(SR.net_http_requested_version_cannot_establish, request.Version, request.VersionPolicy, desiredVersion), inner);