ExchangeData event

The event ExchangeData fires during the processing of a job when KCM Core needs to exchange a data value using the KCM Core script function exchange_data. Handlers of the event ExchangeData should be of the 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 being passed, and the parameter value specifies the actual value being passed. The value returned from the event handler ExchangeData is returned to the KCM Core Service.

Regardless of whether the event ExchangeData is being handled, any value passed from KCM Core with key "SessionID" (case-insensitive) is copied to the property SessionID.