TcpGpsReceiverOnDisconnected Method |
Raises the Disconnected event.
Namespace: ZylSoft.GpsAssembly: ZylGpsReceiver (in ZylGpsReceiver.dll) Version: 3.29.9208.19412
XMLNS for XAML: Not mapped to an xmlns.
Syntaxprotected virtual void OnDisconnected(
NetworkConnectionEventArgs e
)
Protected Overridable Sub OnDisconnected (
e As NetworkConnectionEventArgs
)
Dim e As NetworkConnectionEventArgs
Me.OnDisconnected(e)
protected:
virtual void OnDisconnected(
NetworkConnectionEventArgs^ e
)
abstract OnDisconnected :
e : NetworkConnectionEventArgs -> unit
override OnDisconnected :
e : NetworkConnectionEventArgs -> unit
protected void OnDisconnected(
NetworkConnectionEventArgs e
)
protected function OnDisconnected(
e : NetworkConnectionEventArgs
)
function OnDisconnected(e);
PROTECTED VIRTUAL METHOD OnDisconnected(
e AS NetworkConnectionEventArgs
) AS VOID
No code example is currently available or this language may not be supported.
Parameters
- e NetworkConnectionEventArgs
-
An TcpConnectionEventArgs that contains the event data.
Remarks
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.
See Also