Skip to main content Skip to complementary content

CancelReloadAsync Method

Overloads

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.

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.

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

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!