IUnsolicitedMessages.IsAcceptPending Property

The IsAcceptPending property returns a value indicating whether there is an outstanding accept response pending for a report that is running. It returns true if there is an outstanding accept response pending for a report that is running, otherwise it returns false.

Namespace – ABSuite.AccessLayer.Connector.Core

Assembly – Unisys.ABSuite.AccessLayer.Connector.Core (in Unisys.ABSuite.AccessLayer.Connector.Core.dll)

Syntax

bool IsAcceptPending { get; }

Using the IUnsolicitedMessages Interface for the IsAcceptPending Property

The following code is an example of using the IsAcceptPending property:

// An accept command must be prefixed with a greater than symbol ">"
string command == ">Continue";
// Check if an accept is pending and send the accept command
        if (this.Connection.MessagesHandler.IsAcceptPending)
        {
              this.Connection.MessagesHandler.SendAccept(command);  
        }