Partager via


Active Script Constants, Enumerations, and Error Codes

This section describes the enumerations and error codes used in Windows Scripting engines.

Constants

Constant Description
SCRIPTTHREADID Constants Specifies the type of thread.

Properties

Property Description
SCRIPTPROP_HOSTKEEPALIVE Property Used to specify whether or not the scripting engine should be kept fully functional if there are outstanding references.

Enumerations

Enumeration Description
SCRIPTGCTYPE Enumeration The type of garbage collection to perform.
SCRIPTLANGUAGEVERSION Enumeration Specifies the possible scripting versions.
SCRIPTSTATE Enumeration Specifies the state of a scripting engine.
SCRIPTTHREADSTATE Enumeration Specifies the state of a thread in a scripting engine.
SCRIPTTRACEINFO Enumeration Represents the script event that is being traced. Used in the IActiveScriptSiteTraceInfo::SendScriptTraceInfo Method.
SCRIPTUICHANDLING Enumeration Represents the way that the UI control should be handled.
SCRIPTUICITEM Enumeration Represents the type of UI item. Used in the IActiveScriptSiteUIControl::GetUIBehavior Method.

Error Codes

Error Code Description
SCRIPT_E_PROPAGATE Error Code A script error is being propagated to the caller, which might be in a different thread.
SCRIPT_E_RECORDED Error Code An error has been passed between the script engine and the host.
SCRIPT_E_REPORTED Error Code The scripting engine has reported an unhandled exception to the host.

See also

Active Script Interfaces