Sets or returns the Message property of the running instance. The ErrorMessage property can be used to convey meaningful error information. Setting this value changes the Error Message field of a Job Instance. without stopping execution of the current Job Script.
In Windows environments, if the JScript throw() method is called and this property has been set, the value is appended to the message description in the JScript or VBScript Error object.
COM objects that implement the IDispatch interface can be accessed from within Job Scripts. If any method fails and properly provides error information through the SetErrorInfo() method, that information is contained in the Message field of the Job Instance. If the Message property is set before the COM object error is generated, then that string value is appended to the COM object error information.