HubConfigureReloadAsync Method (AsyncHandle, Boolean, Boolean, Boolean) |
Configures the engine's behavior during a reload.
The ConfigureReload method should be run before the DoReload method.
Namespace: Qlik.EngineAssembly: Qlik.Engine (in Qlik.Engine.dll) Version: 2.1.0.0+Build:7.origin/release/ms13
Syntaxpublic Task ConfigureReloadAsync(
AsyncHandle asyncHandle,
bool cancelOnScriptError,
bool useErrorData,
bool interactOnError
)
Public Function ConfigureReloadAsync (
asyncHandle As AsyncHandle,
cancelOnScriptError As Boolean,
useErrorData As Boolean,
interactOnError As Boolean
) As Task
Parameters
- asyncHandle
- Type: Qlik.EngineAsyncHandle
Handle to asynchronous method request - cancelOnScriptError
- Type: SystemBoolean
If set to true, the script execution is halted on error.
Otherwise, the engine continues the script execution.
This parameter is relevant only if the variable ErrorMode is set to 1. - useErrorData
- Type: SystemBoolean
If set to true, any script execution error is returned in qErrorData by the GetProgress method. - interactOnError
- Type: SystemBoolean
If set to true, the script execution is halted on error and the engine is waiting for an interaction to be performed. If the result from the interaction is 1 (qDef.qResult is 1), the engine continues the script execution otherwise the execution is halted.
This parameter is relevant only if the variable ErrorMode is set to 1 and the script is run in debug mode (qDebug is set to true when calling the DoReload method).
Return Value
Type:
TaskImplements
IHubConfigureReloadAsync(AsyncHandle, Boolean, Boolean, Boolean)
See Also