次の方法で共有


Informs the host that an execution error occurred while the engine was running the script.

Microsoft® Windows® Script Interfaces
IActiveScriptSite::OnScriptError
 Language Reference
Previous
Next

  HRESULT IActiveScriptSite::OnScriptError(
    IActiveScriptError *pase  // address of error interface
);

  • Returns S_OK if the error was correctly handled, or an OLE defined error code otherwise.
  • pase
    [in] Address of the error object's IActiveScriptError interface. A host can use this interface to obtain information about the execution error.