Click or drag to resize

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.0 (1.5.0.0)
Syntax
public delegate void ConnectionStatusChangedEventHandler(
	IConnection connection,
	string property,
	bool newValue
)

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