-api-id | -api-type |
---|---|
E:Windows.Devices.SerialCommunication.SerialDevice.ErrorReceived |
winrt event |
Event handler that is invoked when error occurs on the serial port.
This event is used to detect and respond to errors when communicating data through a serial port. When an error condition occurs, the ErrorReceived event handler is invoked and error information is received in an ErrorReceivedEventArgs object. Determine the type of error by retrieving the Error property of the ErrorReceivedEventArgs class. Those property values are defined in the SerialError enumeration.