IUnsolicitedMessages.SendAccept Method

The SendAccept method sends message to the runtime system that is currently running a report and waiting for an accept response from the user.

Namespace – ABSuite.AccessLayer.Connector.Core

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

Syntax

void SendAccept(
string reply
) 

Argument

Using the IUnsolicitedMessages Interface for the SendAccept Method

The following code is an example of using the SendAccept method:

// 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);  
        }