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