Export (0) Print
Expand All

SerialError Enumeration

Note: This enumeration is new in the .NET Framework version 2.0.

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 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 .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0

.NET Compact Framework

Supported in: 2.0

Community Additions

ADD
Show:
© 2014 Microsoft