The IsBusyChanged event is triggered when a change occurs in the busy state of the connection.
Namespace – ABSuite.AccessLayer.Connector.Core
Assembly – Unisys.ABSuite.AccessLayer.Connector.Core (in Unisys.ABSuite.AccessLayer.Connector.Core.dll)
Syntax
event EventHandler IsBusyChanged
Using the IConnection Interface for the IsBusyChanged Event
The following code is an example of using the IsBusyChanged event:
// Register for the event ABSConnection.IsBusyChanged += HandleIsBusyChanged; // HandleIsbusyChanged is the handler for processing the // IsBusyChanged event when a change occurs in the Busy state // of the connection. public void HandleIsBusyChanged () { // Retrieve the current Busy state of the connection and log it. if (ABSConnection.IsBusy) ApplicationLogger.LogInfo(() => string.Format("Connection is currently busy processing a request!")); }