SerialPortOnResumed Method |
Raises the Resumed event.
Namespace: ZylSoft.SerialAssembly: ZylSerialPort (in ZylSerialPort.dll) Version: 1.86.9206.30146
Syntaxprotected virtual void OnResumed(
EventArgs e
)
Protected Overridable Sub OnResumed (
e As EventArgs
)
protected:
virtual void OnResumed(
EventArgs^ e
)
abstract OnResumed :
e : EventArgs -> unit
override OnResumed :
e : EventArgs -> unit protected void OnResumed(
EventArgs e
)
protected function OnResumed(
e : EventArgs
)
PROTECTED VIRTUAL METHOD OnResumed(
e AS EventArgs
) AS VOID
No code example is currently available or this language may not be supported.
Parameters
- e EventArgs
-
An EventArgs that contains the event data.
Remarks
Raising an event invokes the event handler through a delegate.
The OnResumed 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 OnResumed in a derived class, be sure to
call the base class's OnResumed method so that registered delegates
receive the event.
It works only for AutoReceive = true.
See Also