ApplicationScriptEvent Class

ApplicationScriptEvent Class

Abstract:  Yes
Raised by:  Not applicable
Base Class:  SaltInterpreterEvent
Derived Classes:  ApplicationTaskEvent, DebugMessage, SaltLogMessage, ApplicationOperatorEvent, QASummary

The abstract ApplicationScriptEvent class defines an event type for all messages or events that are raised from application script.

Note  All events raised from the SALT application can also be raised by the Speech Controls. For more information, see Event Source Descriptions.

The derived classes then define the types of events or messages raised:

  • ApplicationTaskEvent, for events related to the progress of user tasks. Developers can have the application log these events, for example, to track how or whether application-defined tasks are completed by a user.

  • DebugMessage, for debug messages sent from the application. Developers can use these events as a debugging aid, for example to record application state, or trace application execution.

  • SaltLogMessage, for messages the application raises by calling the global SALT LogMessage function, and

  • ApplicationOperatorEvent, for messages sent to the Windows Event log.

  • QASummary for events raised from a Question/Answer control in the running application.

ApplicationScriptEvent does not implement any new properties.

Remarks

Abstract events do not appear directly in the logs. Properties inherited or defined by the abstract class appear in the logs when implemented in derived classes.

See Also

Event Logging Class Hierarchy | Logging and Analyzing Events | CommonEvent | Event Logging Schema: Abstract Events