Allows a host to specify that a script should terminate.
HRESULT QueryContinue();
Parameters
This method takes no parameters.
Return Value
The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.
Value
Description
S_OK
The call succeeded and the host permits the script to continue running.
S_FALSE
The call succeeded and the host requests that the script terminate.
Remarks
The hosted script should terminate unless the return value of the QueryContinue method is S_OK. A return value of S_FALSE indicates that the host explicitly requests that the script terminate.
A multithreaded host may use the IActiveScript::InterruptScriptThread method to terminate a script.