MsQuicError Enum

The kind of error a MsQuicException reports.

public enum MsQuicError

Fields

NameValueDescription
InternalError0An unexpected error of MsQuic.
ConnectionAborted1The peer closed the connection, with the application error code in MsQuicException.ApplicationErrorCode.
StreamAborted2The peer aborted the stream, with the application error code in MsQuicException.ApplicationErrorCode.
AddressInUse3The local address is already in use.
InvalidAddress4The address is not valid or not available.
ConnectionTimeout5The handshake did not complete in time.
HostUnreachable6The remote host is not reachable.
ConnectionRefused7The peer refused the connection.
VersionNegotiationError8The peers do not support a common QUIC version.
ConnectionIdle9The connection was idle for longer than the idle timeout.
ProtocolError10The peer violated the QUIC protocol.
OperationAborted11The operation was aborted, because the stream or the connection was aborted or closed locally.
AlpnInUse12Another listener of the process already uses the application protocol on this port.
HandshakeFailure13The TLS handshake failed: certificate rejected, no common application protocol, TLS alert...
StreamLimitReached14The peer does not allow more streams of this type yet.
DatagramsNotEnabled15Datagrams are not enabled on the connection: either side did not enable them, or the connection is not established.
DatagramTooLarge16The datagram is larger than MsQuicConnection.MaxDatagramSendSize.