The TransmissionObjectChanged event is triggered when the response from the runtime system requires a different DataModel to be used, instead of the current DataModel.
Namespace – ABSuite.AccessLayer.Connector.Core
Assembly – Unisys.ABSuite.AccessLayer.Connector.Core (in Unisys.ABSuite.AccessLayer.Connector.Core.dll)
Syntax
event EventHandler<ConnectionEventArgs> TransmissionObjectChanged
Using the IConnection Interface for the TransmissionObjectChanged Event
The following code is an example of using the TransmissionObjectChanged event:
// HandleTransmissionObjectChanged is the handler for processing the
// TransmissionObjectChanged event when the Host application context
// changes to a different ispec.
public void HandleTransmissionObjecChanged(object sender, ConnectionEventArgs args)
{
// The status information has changed. Check the Status property
string newIspecName = args.TransObject.ObjectClassName;
ApplicationLogger.LogInfo(() => string.Format("Context has been changed to ispec: {0}", newIspecName));
}