ZylSerialPort.NET

LineStatusEventHandler Delegate

Represents the method that will handle the LineStatusChanged event of the serial port.

[Visual Basic]
Public Delegate Sub LineStatusEventHandler( _
   ByVal Object As Object, _
   ByVal LineStatusEventArgs As LineStatusEventArgs _
)
[C#]
public delegate void LineStatusEventHandler(
   Object sender,
   LineStatusEventArgs e
);

Parameters

Object
The source of the event.
LineStatusEventArgs
A LineStatusEventArgs that contains the event data.

Remarks

When you create a LineStatusEventHandler delegate, you identify the method that will handle the event. To associate the event with your event handler, add an instance of the delegate to the event. The event handler is called whenever the event occurs, unless you remove the delegate.

Requirements

Namespace: ZylSerialPort

Assembly: ZylSerialPort (in ZylSerialPort.dll)

See Also

ZylSerialPort Namespace