# ConfigureReloadAsync Method

## Overloads

| [ConfigureReloadAsync(Boolean, Boolean, Boolean)](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Engine.Hub.ConfigureReloadAsync.htm#Qlik_Engine_Hub_ConfigureReloadAsync_System_Boolean_System_Boolean_System_Boolean_) |  | Configures the engine's behavior during a reload. |
| --- | --- | --- |
| [ConfigureReloadAsync(AsyncHandle, Boolean, Boolean, Boolean)](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Engine.Hub.ConfigureReloadAsync.htm#Qlik_Engine_Hub_ConfigureReloadAsync_Qlik_Engine_AsyncHandle_System_Boolean_System_Boolean_System_Boolean_) |  | Configures the engine's behavior during a reload. |

[](https://help.qlik.com/en-US/sense-developer/Subsystems/NetSDKAPIref/Content/Qlik.Engine.Hub.ConfigureReloadAsync.htm) [](https://help.qlik.com/en-US/sense-developer/Subsystems/NetSDKAPIref/Content/Qlik.Engine.Hub.ConfigureReloadAsync.htm)

## 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.<br>Otherwise, the engine continues the script execution.<br>This parameter is relevant only if the variable `ErrorMode` is set to 1. |
| System.Boolean | useErrorData | If set to true, any script execution error is returned in `qErrorData` by the `GetProgress method`. |
| 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 (`qDef.qResult` is 1), the engine continues the script execution otherwise the execution is halted.<br>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`). |

### Returns

| Type | Description |
| --- | --- |
| System.Threading.Tasks.Task |  |

### Implements

[IHub.ConfigureReloadAsync(Boolean, Boolean, Boolean)](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Engine.IHub.ConfigureReloadAsync.htm#Qlik_Engine_IHub_ConfigureReloadAsync_System_Boolean_System_Boolean_System_Boolean_)

### Remarks

The `ConfigureReload method` should be run before the `DoReload method`.

[](https://help.qlik.com/en-US/sense-developer/Subsystems/NetSDKAPIref/Content/Qlik.Engine.Hub.ConfigureReloadAsync.htm) [](https://help.qlik.com/en-US/sense-developer/Subsystems/NetSDKAPIref/Content/Qlik.Engine.Hub.ConfigureReloadAsync.htm)

## 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](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Engine.AsyncHandle.htm) | asyncHandle | Handle to asynchronous method request |
| System.Boolean | cancelOnScriptError | If set to true, the script execution is halted on error.<br>Otherwise, the engine continues the script execution.<br>This parameter is relevant only if the variable `ErrorMode` is set to 1. |
| System.Boolean | useErrorData | If set to true, any script execution error is returned in `qErrorData` by the `GetProgress method`. |
| 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 (`qDef.qResult` is 1), the engine continues the script execution otherwise the execution is halted.<br>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`). |

### Returns

| Type | Description |
| --- | --- |
| System.Threading.Tasks.Task |  |

### Implements

[IHub.ConfigureReloadAsync(AsyncHandle, Boolean, Boolean, Boolean)](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Engine.IHub.ConfigureReloadAsync.htm#Qlik_Engine_IHub_ConfigureReloadAsync_Qlik_Engine_AsyncHandle_System_Boolean_System_Boolean_System_Boolean_)

### Remarks

The `ConfigureReload method` should be run before the `DoReload method`.