Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Allows a smart host to determine how to handle run-time errors.
Syntax
HRESULT OnScriptErrorDebug(
IActiveScriptErrorDebug* pErrorDebug,
BOOL* pfEnterDebugger,
BOOL* pfCallOnScriptErrorWhenContinuing
);
Parameters
pErrorDebug
[in] The run-time error that occurred
pfEnterDebugger
[out] Flag indicating whether to pass the error to the debugger to do JIT debugging.
pfCallOnScriptErrorWhenContinuing
[out] Flag indicating whether to call IActiveScriptSite::OnScriptError when the user decides to continue without debugging.
Return Value
The method returns an HRESULT. Possible values include, but are not limited to the value in the following table.
| Value | Description |
|---|---|
S_OK |
The method succeeded. |
Remarks
A smart host can use this method to determine how to handle run-time errors.