7 references to GetExceptionForMsQuicStatus
System.Net.Quic (7)
System\Net\Quic\Internal\MsQuicApi.cs (1)
230
throw ThrowHelper.
GetExceptionForMsQuicStatus
(openStatus);
System\Net\Quic\Internal\ThrowHelper.cs (2)
50
exception =
GetExceptionForMsQuicStatus
(status);
144
throw
GetExceptionForMsQuicStatus
(status, message: message);
System\Net\Quic\QuicConnection.cs (1)
659
Exception exception = ExceptionDispatchInfo.SetCurrentStackTrace(ThrowHelper.
GetExceptionForMsQuicStatus
(data.Status, (long)data.ErrorCode));
System\Net\Quic\QuicStream.cs (3)
266
_startedTcs.TrySetException(ThrowHelper.
GetExceptionForMsQuicStatus
(status));
637
(shutdownByApp: false, closedRemotely: true) => ThrowHelper.
GetExceptionForMsQuicStatus
(data.ConnectionCloseStatus, (long)data.ConnectionErrorCode),
639
(shutdownByApp: false, closedRemotely: false) => ThrowHelper.
GetExceptionForMsQuicStatus
(data.ConnectionCloseStatus, (long)data.ConnectionErrorCode),