|Microsoft Windows Script Interfaces|
Causes the current thread to block and sends a notification of the error to the debugger IDE.
HRESULT HandleRuntimeError( IActiveScriptErrorDebug* pErrorDebug, IActiveScriptSite* pScriptSite, BREAKRESUMEACTION* pbra, ERRORRESUMEACTION* perra, BOOL* pfCallOnScriptError );
[in] The error that occurred.
[in] The script site of the thread.
[out] Action to take when the debugger resumes the application.
[out] Action to take when the debugger resumes the application if there is an error.
[out] Flag which is TRUE if the engine should call the IActiveScriptSite::OnScriptError method.
The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.
The method succeeded.
A language engine calls this method in the context of a thread that causes a run-time error. This method causes the current thread to block and sends an error notification to be sent to the debugger IDE. When the debugger IDE resumes the application, this method returns with the action to be taken.
While in the run-time fault, the language engine may be called by the thread to do such tasks as enumerate stack frames or evaluate expressions.