IRtConnection.LoadAsync Method

The LoadAsync method loads a specified ispec or class in the runtime system for a session through an asynchronous call. As this is an asynchronous call, the calling process is not blocked. An event handler receives a new TransmissionObject when the call completes.

Namespace – ABSuite.AccessLayer.Connector.Core

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

Syntax

Task<TransmissionObject> LoadAsync(
   string name,
   bool withSwitch = true
)

Arguments

Return Value

This method returns a transmission object.

Using the IRtConnection Interface for the LoadAsync Method

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

await connection.LoadAsync("Cust")