MsQuicError Enum
The kind of error a MsQuicException reports.
public enum MsQuicErrorFields
| Name | Value | Description |
|---|---|---|
InternalError | 0 | An unexpected error of MsQuic. |
ConnectionAborted | 1 | The peer closed the connection, with the application error code in MsQuicException.ApplicationErrorCode. |
StreamAborted | 2 | The peer aborted the stream, with the application error code in MsQuicException.ApplicationErrorCode. |
AddressInUse | 3 | The local address is already in use. |
InvalidAddress | 4 | The address is not valid or not available. |
ConnectionTimeout | 5 | The handshake did not complete in time. |
HostUnreachable | 6 | The remote host is not reachable. |
ConnectionRefused | 7 | The peer refused the connection. |
VersionNegotiationError | 8 | The peers do not support a common QUIC version. |
ConnectionIdle | 9 | The connection was idle for longer than the idle timeout. |
ProtocolError | 10 | The peer violated the QUIC protocol. |
OperationAborted | 11 | The operation was aborted, because the stream or the connection was aborted or closed locally. |
AlpnInUse | 12 | Another listener of the process already uses the application protocol on this port. |
HandshakeFailure | 13 | The TLS handshake failed: certificate rejected, no common application protocol, TLS alert... |
StreamLimitReached | 14 | The peer does not allow more streams of this type yet. |
DatagramsNotEnabled | 15 | Datagrams are not enabled on the connection: either side did not enable them, or the connection is not established. |
DatagramTooLarge | 16 | The datagram is larger than MsQuicConnection.MaxDatagramSendSize. |