Raises the Disconnected event.
Namespace:
ZylSoft.Gps.Mobile
Assembly:
ZylGpsReceiverMobile (in ZylGpsReceiverMobile.dll) Version: 3.14.6846.29005
protected virtual void OnDisconnected(
ConnectionEventArgs e
)
Protected Overridable Sub OnDisconnected (
e As ConnectionEventArgs
)
Dim e As ConnectionEventArgs
Me.OnDisconnected(e)
protected void OnDisconnected(
ConnectionEventArgs e
)
Parameters
- e
- Type: ZylSoft.Gps.MobileConnectionEventArgs
A ConnectionEventArgs that contains the event data.
Raising an event invokes the event handler through a delegate.
The OnDisconnected 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 OnDisconnected in a derived class, be sure to
call the base class's OnDisconnected method so that registered delegates
receive the event.
Reference