次の方法で共有


IActiveScriptError

Microsoft® Windows® Script Interfaces
IActiveScriptError
 Language Reference
Previous
Next

An object implementing this interface is passed to the IActiveScriptSite::OnScriptError method whenever the scripting engine encounters an unhandled error. The host then calls methods on this object to obtain information about the error that occurred.

Methods in Vtable Order

Method Description GetExceptionInfo Retrieves information about an error. GetSourcePosition Retrieves the location in the source code where an error occurred. GetSourceLineText Retrieves the line in the source file where an error occurred.