ConnectionStatusChangedEventHandler Delegate |
When the status of the connection changes this event is raised
e.g. when IsConnected changes from false to true
or when IsAvailable changes:
* for example for a TCPConnection if the IP address is goes from online to offline
* or for example for a SerialConnection when the COM name is no longer present or in use by another program
Namespace: Brainboxes.IOAssembly: Brainboxes.IO (in Brainboxes.IO.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public delegate void ConnectionStatusChangedEventHandler(
IConnection connection,
string property,
bool newValue
)
Public Delegate Sub ConnectionStatusChangedEventHandler (
connection As IConnection,
property As String,
newValue As Boolean
)
type ConnectionStatusChangedEventHandler =
delegate of
connection : IConnection *
property : string *
newValue : bool -> unit
Parameters
- connection IConnection
- The connection whose property changed
- property String
- The property which has changed either IsConnected or IsAvailable
- newValue Boolean
- The new value of the property
See Also