Called to process run-time errors.
Syntax
HRESULT HandleRuntimeError( IActiveScriptErrorDebug *pErrorDebug, IActiveScriptSite *pScriptSite, BREAKRESUMEACTION *pbra, ERRORRESUMEACTION *perra, BOOL *pfCallOnScriptError );
Parameters
- pErrorDebug
- [in] Address of an IActiveScriptErrorDebug interface.
- pScriptSite
- [in] Address of an IActiveScriptSite interface.
- pbra
- [out] Address of an enumerated type that specifies how to continue after a breakpoint has been hit.
- perra
- [out] Address of an enumerated type that specifies how to continue after a run-time error.
- pfCallOnScriptError
- [out] Address of a Boolean value that specifies whether IActiveScriptSite::OnScriptError should be called. If the value is true, the method is called.
Return Value
Returns S_OK if successful, or an error code otherwise.