CancelReloadAsync Method
Overloads
| CancelReloadAsync(String) |
Cancels an ongoing reload. The reload of the app is stopped. The indexation can be canceled and |
|
| CancelReloadAsync(AsyncHandle, String) |
Cancels an ongoing reload. The reload of the app is stopped. The indexation can be canceled and |
CancelReloadAsync(String)
Cancels an ongoing reload. The reload of the app is stopped. The indexation can be canceled and true is still the return value of the reload task.
Declaration
Task CancelReloadAsync([QixName("qReason")] string reason = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | reason |
Reason for why the reload was cancelled. This will be echoed back to the user in the script log. |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task |
CancelReloadAsync(AsyncHandle, String)
Cancels an ongoing reload. The reload of the app is stopped. The indexation can be canceled and true is still the return value of the reload task.
Declaration
Task CancelReloadAsync(AsyncHandle asyncHandle, [QixName("qReason")] string reason = null)
Parameters
| Type | Name | Description |
|---|---|---|
| AsyncHandle | asyncHandle |
Handle to asynchronous method request |
| System.String | reason |
Reason for why the reload was cancelled. This will be echoed back to the user in the script log. |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task |