SerialPortOnReconnecting Method |
Raises the Reconnecting event.
Namespace: ZylSoft.SerialAssembly: ZylSerialPort (in ZylSerialPort.dll) Version: 1.83.8519.34486
Syntax protected virtual void OnReconnecting(
DetectEventArgs e
)
Protected Overridable Sub OnReconnecting (
e As DetectEventArgs
)
protected:
virtual void OnReconnecting(
DetectEventArgs^ e
)
abstract OnReconnecting :
e : DetectEventArgs -> unit
override OnReconnecting :
e : DetectEventArgs -> unit
protected void OnReconnecting(
DetectEventArgs e
)
protected function OnReconnecting(
e : DetectEventArgs
)
function OnReconnecting(e);
PROTECTED VIRTUAL METHOD OnReconnecting(
e AS DetectEventArgs
) AS VOID
No code example is currently available or this language may not be supported.
Parameters
- e DetectEventArgs
-
A DetectEventArgs that contains the event data.
Remarks
Raising an event invokes the event handler through a delegate.
The OnReconnecting 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 OnReconnecting in a derived class, be sure to
call the base class's OnReconnecting method so that registered delegates receive the event.
See Also