Click or drag to resize

SerialPortOnDetecting Method

Raises the Detecting event.

Namespace: ZylSoft.Serial
Assembly: ZylSerialPort (in ZylSerialPort.dll) Version: 1.83.8519.34486
Syntax
protected virtual void OnDetecting(
	DetectEventArgs e
)

Parameters

e  DetectEventArgs
A DetectEventArgs that contains the event data.
Remarks
Raising an event invokes the event handler through a delegate. The OnDetecting method also allows derived classes to handle the event without attaching a delegate. This is the preferred technique for handling the event in a derived class. Notes to Inheritors: When overriding OnDetecting in a derived class, be sure to call the base class's OnDetecting method so that registered delegates receive the event.
See Also