Click to return to the Component Development home page    
IDebugApplication::Handle...     IDebugApplication::QueryC...     IDebugApplication Interfa...    
Web Workshop  |  Component Development

IDebugApplication::HandleRuntimeError Method


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.



Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.