This documentation is archived and is not being maintained.

SerialError Enumeration

Specifies errors that occur on the SerialPort object

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

public enum SerialError

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

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

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

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0, 2.0

.NET Compact Framework

Supported in: 3.5, 2.0
Show: