ConfigureReloadAsync Method
Overloads
| ConfigureReloadAsync(Boolean, Boolean, Boolean) |
Configures the engine's behavior during a reload. |
|
| ConfigureReloadAsync(AsyncHandle, Boolean, Boolean, Boolean) |
Configures the engine's behavior during a reload. |
ConfigureReloadAsync(Boolean, Boolean, Boolean)
Configures the engine's behavior during a reload.
Declaration
public Task ConfigureReloadAsync([QixName("qCancelOnScriptError")] bool cancelOnScriptError, [QixName("qUseErrorData")] bool useErrorData, [QixName("qInteractOnError")] bool interactOnError)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Boolean | cancelOnScriptError |
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 |
| System.Boolean | useErrorData |
If set to true, any script execution error is returned in |
| System.Boolean | interactOnError |
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 ( |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task |
Implements
Remarks
The ConfigureReload method should be run before the DoReload method.
ConfigureReloadAsync(AsyncHandle, Boolean, Boolean, Boolean)
Configures the engine's behavior during a reload.
Declaration
public Task ConfigureReloadAsync(AsyncHandle asyncHandle, [QixName("qCancelOnScriptError")] bool cancelOnScriptError, [QixName("qUseErrorData")] bool useErrorData, [QixName("qInteractOnError")] bool interactOnError)
Parameters
| Type | Name | Description |
|---|---|---|
| AsyncHandle | asyncHandle |
Handle to asynchronous method request |
| System.Boolean | cancelOnScriptError |
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 |
| System.Boolean | useErrorData |
If set to true, any script execution error is returned in |
| System.Boolean | interactOnError |
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 ( |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task |
Implements
Remarks
The ConfigureReload method should be run before the DoReload method.