The Status property holds the current status information of the connection sent by the runtime system.
Namespace – ABSuite.AccessLayer.Connector.Core
Assembly – Unisys.ABSuite.AccessLayer.Connector.Core (in Unisys.ABSuite.AccessLayer.Connector.Core.dll)
Syntax
string Status { get; }Using the IConnection Interface for the Status Property
The following code is an example of using the Status property:
// Callback method to handle the result of the Connect processing
void ConnectionComplete(TransmissionObject trObj)
{
// Check if the session is connected successfully
if (ABSConnection.IsConnected)
{
SessionConnected = true;
// Get the current Status information returned from the application
String StatusMsg = ABSConnection.Status;
}
else
SessionConnected = false;
}