SerialError Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Defines values for error conditions that can occur on the serial port.
public enum class SerialError
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class SerialError
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum SerialError
var value = Windows.Devices.SerialCommunication.SerialError.frame
Public Enum SerialError
- Inheritance
-
SerialError
- Attributes
Windows requirements
Device family |
Windows 10 (introduced in 10.0.10240.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v1.0)
|
Fields
BufferOverrun | 1 | A character-buffer overrun has occurred. The next character is lost. |
Frame | 0 | The hardware detected a framing error. |
ReceiveFull | 2 | 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. |
ReceiveParity | 3 | The hardware detected a parity error. |
TransmitFull | 4 | The application tried to transmit a character, but the output buffer was full. |
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for