SerialError Enumeration

Specifies errors that occur on the SerialPort object

Namespace: System.IO.Ports
Assembly: System (in system.dll)

public enum SerialError
public enum SerialError
public enum SerialError

 Member nameDescription
Supported by the .NET Compact FrameworkFrameThe hardware detected a framing error. 
Supported by the .NET Compact FrameworkOverrunA character-buffer overrun has occurred. The next character is lost. 
Supported by the .NET Compact FrameworkRXOverAn 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. 
Supported by the .NET Compact FrameworkRXParityThe hardware detected a parity error. 
Supported by the .NET Compact FrameworkTXFullThe application tried to transmit a character, but the output buffer was full. 

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

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0

.NET Compact Framework

Supported in: 2.0

Community Additions