ExchangeData

The event ExchangeData fires during the processing of a job when the ITP/Server wants to exchange a data value using the ITP/Server Script function exchange_data. Handlers of the event ExchangeData should be of type Aia.ITP.Server.Job.ExchangeDataHandler:

delegate string ExchangeDataHandler (string key, string value)

An ExchangeData handler receives two parameters; key and value. The parameter key identifies the value that is being passed, the parameter value specifies the actual value that is being passed. The value that is returned from the event handler ExchangeData is returned to the ITP/Server service.

Regardless of whether the event ExchangeData is being handled, any value passed from ITP/Server with key "SessionID" (case insensitive) is copied to the property SessionID. For more information about this behavior, refer to the definition of the property SessionID.