1 write to ApplicationErrorCode
System.Net.Quic (1)
System\Net\Quic\QuicException.cs (1)
57ApplicationErrorCode = applicationErrorCode;
37 references to ApplicationErrorCode
IIS.FunctionalTests (4)
Http3Tests.cs (4)
126Assert.Equal(0x010b, qex.ApplicationErrorCode.Value); 142Assert.Equal(0x010c, qex.ApplicationErrorCode.Value); // H3_REQUEST_CANCELLED 159Assert.Equal(0x0102, qex.ApplicationErrorCode.Value); // H3_INTERNAL_ERROR 173Assert.Equal(0x010c, qex.ApplicationErrorCode.Value); // H3_REQUEST_CANCELLED
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (4)
Http3Tests.cs (4)
179Assert.Equal(0x010b, qex.ApplicationErrorCode.Value); 212Assert.Equal(0x010c, qex.ApplicationErrorCode.Value); 238Assert.Equal(0x0102, qex.ApplicationErrorCode.Value); // H3_INTERNAL_ERROR 259Assert.Equal(0x010c, qex.ApplicationErrorCode.Value); // H3_REQUEST_CANCELLED
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());
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic.Tests (9)
QuicConnectionContextTests.cs (5)
141Assert.Equal(256, innerEx.ApplicationErrorCode.Value); 304Assert.Equal((long)Http3ErrorCode.NoError, innerEx.ApplicationErrorCode.Value); 428Assert.Equal((long)Http3ErrorCode.InternalError, ((QuicException)ex.InnerException).ApplicationErrorCode.Value); 477Assert.Equal((long)Http3ErrorCode.InternalError, ((QuicException)serverEx.InnerException).ApplicationErrorCode.Value); 489Assert.Equal((long)Http3ErrorCode.RequestRejected, clientEx.ApplicationErrorCode.Value);
QuicStreamContextTests.cs (4)
281Assert.Equal((long)Http3ErrorCode.InternalError, ((QuicException)ex.InnerException).ApplicationErrorCode.Value); 356Assert.Equal((long)Http3ErrorCode.InternalError, ((QuicException)ex.InnerException).ApplicationErrorCode.Value); 470Assert.Equal((long)Http3ErrorCode.InternalError, ex.ApplicationErrorCode.Value); 523Assert.Equal((long)Http3ErrorCode.InternalError, clientEx.ApplicationErrorCode.Value);
System.Net.Http (14)
System\Net\Http\SocketsHttpHandler\Http3Connection.cs (6)
483Debug.Assert(ex.ApplicationErrorCode.HasValue); 484Http3ErrorCode code = (Http3ErrorCode)ex.ApplicationErrorCode.Value; 544Debug.Assert(ex.ApplicationErrorCode.HasValue); 545Http3ErrorCode code = (Http3ErrorCode)ex.ApplicationErrorCode.Value; 679Debug.Assert(ex.ApplicationErrorCode.HasValue); 680Http3ErrorCode code = (Http3ErrorCode)ex.ApplicationErrorCode.Value;
System\Net\Http\SocketsHttpHandler\Http3RequestStream.cs (8)
273Debug.Assert(ex.ApplicationErrorCode.HasValue); 274Http3ErrorCode code = (Http3ErrorCode)ex.ApplicationErrorCode.Value; 297Debug.Assert(ex.ApplicationErrorCode.HasValue); 298Http3ErrorCode code = (Http3ErrorCode)ex.ApplicationErrorCode.Value; 1293Debug.Assert(e.ApplicationErrorCode.HasValue); 1294throw HttpProtocolException.CreateHttp3StreamException((Http3ErrorCode)e.ApplicationErrorCode.Value, e); 1298Debug.Assert(e.ApplicationErrorCode.HasValue); 1299HttpProtocolException exception = HttpProtocolException.CreateHttp3ConnectionException((Http3ErrorCode)e.ApplicationErrorCode.Value, SR.net_http_http3_connection_close);