The IsBusy property gets a value indicating whether the connection is busy at the moment.
Namespace – ABSuite.AccessLayer.Connector.Core
Assembly – Unisys.ABSuite.AccessLayer.Connector.Core (in Unisys.ABSuite.AccessLayer.Connector.Core.dll)
Syntax
bool IsBusy { get; }
Using the IConnection Interface for the IsBusy Property
The following code shows an example of using the IsBusy property:
// Call the ConnectAsync method // Specify the ConnectionComplete method as the callback ABSConnection.ConnectAsync(cDetails, null, ConnectionComplete); // Check if the Connection object is busy and log a message if (ABSConnection.IsBusy) ApplicationLogger.LogDebug(() => string.Format("Connection object is processing a request."));