1 write to ApplicationErrorCode
System.Net.Quic (1)
System\Net\Quic\QuicException.cs (1)
57ApplicationErrorCode = applicationErrorCode;
22 references to ApplicationErrorCode
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic (6)
Internal\QuicConnectionContext.cs (2)
134_error = ex.ApplicationErrorCode; // Trust Quic to provide us a valid error code 135QuicLog.ConnectionAborted(_log, this, ex.ApplicationErrorCode.GetValueOrDefault(), ex);
Internal\QuicStreamContext.cs (4)
276_error = ex.ApplicationErrorCode; // Trust Quic to provide us a valid error code 277QuicLog.StreamAbortedRead(_log, this, ex.ApplicationErrorCode.GetValueOrDefault()); 437_error = ex.ApplicationErrorCode; // Trust Quic to provide us a valid error code 438QuicLog.StreamAbortedWrite(_log, this, ex.ApplicationErrorCode.GetValueOrDefault());
System.Net.Http (16)
System\Net\Http\SocketsHttpHandler\Http3Connection.cs (6)
503Debug.Assert(ex.ApplicationErrorCode.HasValue); 504Http3ErrorCode code = (Http3ErrorCode)ex.ApplicationErrorCode.Value; 564Debug.Assert(ex.ApplicationErrorCode.HasValue); 565Http3ErrorCode code = (Http3ErrorCode)ex.ApplicationErrorCode.Value; 691Debug.Assert(ex.ApplicationErrorCode.HasValue); 692Http3ErrorCode code = (Http3ErrorCode)ex.ApplicationErrorCode.Value;
System\Net\Http\SocketsHttpHandler\Http3RequestStream.cs (10)
247catch (QuicException qex) when (qex.QuicError == QuicError.StreamAborted && qex.ApplicationErrorCode == (long)Http3ErrorCode.NoError) 293Debug.Assert(ex.ApplicationErrorCode.HasValue); 294Http3ErrorCode code = (Http3ErrorCode)ex.ApplicationErrorCode.Value; 317Debug.Assert(ex.ApplicationErrorCode.HasValue); 318Http3ErrorCode code = (Http3ErrorCode)ex.ApplicationErrorCode.Value; 516catch (HttpRequestException hex) when (hex.InnerException is QuicException qex && qex.QuicError == QuicError.StreamAborted && qex.ApplicationErrorCode == (long)Http3ErrorCode.NoError) 1351Debug.Assert(e.ApplicationErrorCode.HasValue); 1352throw HttpProtocolException.CreateHttp3StreamException((Http3ErrorCode)e.ApplicationErrorCode.Value, e); 1356Debug.Assert(e.ApplicationErrorCode.HasValue); 1357HttpProtocolException exception = HttpProtocolException.CreateHttp3ConnectionException((Http3ErrorCode)e.ApplicationErrorCode.Value, SR.net_http_http3_connection_close);