Delegate SerialDataReceivedEventHandler
Represents the method that will handle the System.IO.Ports.SerialPort.DataReceived event of a SerialPort object.
Namespace: System.IO.Ports
Assembly: System.IO.Ports.dll
Syntax
public delegate void SerialDataReceivedEventHandler(object sender, SerialDataReceivedEventArgs e);
Parameters
Type | Name | Description |
---|---|---|
Object | sender | The sender of the event, which is the SerialPort object. |
SerialDataReceivedEventArgs | e | A SerialDataReceivedEventArgs object that contains the event data. |