internal SerialErrorReceivedEventArgs(SerialErrorType errorType) { this.errorType = errorType; }
void SerialPort_OnError(object sender, string message, SerialErrorType error) { Trace.TraceWarning("Serial Port error."); Trace.TraceError(String.Format("{0} - {1}", error.ToString(), message)); }