Share via


SerialError Enumeration

Specifies errors that occur on the SerialPort object

Namespace: System.IO.Ports
Assembly: Microsoft.SPOT.Hardware (in microsoft.spot.hardware.dll)

Syntax

public enum SerialError

Members

  Member name Description
Frame The hardware detected a framing error.
Overrun A character-buffer overrun has occurred. The next character is lost.
RXOver An input buffer overflow has occurred. There is either no room in the input buffer, or a character was received after the end-of-file (EOF) character.
RXParity The hardware detected a parity error.
TXFull The application tried to transmit a character, but the output buffer was full.

Remarks

This enumeration can be useful when handling the ErrorReceived event to detect and respond to errors when communicating data through a SerialPort.

Version Information

Available in the .NET Micro Framework versions 3.0, 4.0, 4.1, and 4.2.

See Also

Reference

System.IO.Ports Namespace