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.IO
Assembly:
Brainboxes.IO (in Brainboxes.IO.dll) Version: 1.5.0.8
Syntaxpublic 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
- Type: Brainboxes.IOIConnection
The connection whose property changed - property
- Type: SystemString
The property which has changed either IsConnected or IsAvailable - newValue
- Type: SystemBoolean
The new value of the property
See Also