IConnection.ProcessColonCommandAsync Method

The ProcessColonCommandAsync method is used to send a colon command to the runtime system through an asynchronous call.

Namespace – ABSuite.AccessLayer.Connector.Core

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

Syntax

Task ProcessColonCommandAsync(
   string cmd
)

Arguments

Using the IConnection Interface for the ProcessColonCommandAsync Method

The following code shows an example of using the interface for the ProcessColonCommandAsync() method:

// Format the required command string 
string cmd = “HEL”
// Send the command to the host system
Var task = ABSConnection.ProcessColonCommandAsync(cmd);
// Wait for the execution of the command. This does not mean
// wait for completion of the execution to the command (like running 
// a report), but ‘wait’ means to wait for the command to be sent to 
// the system for execution.
task.Wait();