6 references to GetExceptionForMsQuicStatus
System.Net.Quic (6)
System\Net\Quic\Internal\MsQuicApi.cs (1)
215
throw ThrowHelper.
GetExceptionForMsQuicStatus
(openStatus);
System\Net\Quic\Internal\ThrowHelper.cs (2)
61
exception =
GetExceptionForMsQuicStatus
(status, message: message);
158
throw
GetExceptionForMsQuicStatus
(status, message: message);
System\Net\Quic\QuicConnection.cs (1)
547
Exception exception = ExceptionDispatchInfo.SetCurrentStackTrace(ThrowHelper.
GetExceptionForMsQuicStatus
(data.Status, (long)data.ErrorCode));
System\Net\Quic\QuicStream.cs (2)
623
(shutdownByApp: false, closedRemotely: true) => ThrowHelper.
GetExceptionForMsQuicStatus
(data.ConnectionCloseStatus, (long)data.ConnectionErrorCode, $"Shutdown by transport {data.ConnectionErrorCode}"),
625
(shutdownByApp: false, closedRemotely: false) => ThrowHelper.
GetExceptionForMsQuicStatus
(data.ConnectionCloseStatus, (long)data.ConnectionErrorCode),