# AbortAllAsync Method

## Overloads

| [AbortAllAsync()](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Engine.Hub.AbortAllAsync.htm#Qlik_Engine_Hub_AbortAllAsync) |  | Sets an abort flag on all pending and ongoing requests in the current engine session.<br><br>\* If an abort flag is set on a pending request, the request is aborted.<br><br>\* If an abort flag is set on an ongoing request, the engine checks to see if it is possible to abort the request. |
| --- | --- | --- |
| [AbortAllAsync(AsyncHandle)](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Engine.Hub.AbortAllAsync.htm#Qlik_Engine_Hub_AbortAllAsync_Qlik_Engine_AsyncHandle_) |  | Sets an abort flag on all pending and ongoing requests in the current engine session.<br><br>\* If an abort flag is set on a pending request, the request is aborted.<br><br>\* If an abort flag is set on an ongoing request, the engine checks to see if it is possible to abort the request. |

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

## AbortAllAsync()

Sets an abort flag on all pending and ongoing requests in the current engine session.

* If an abort flag is set on a pending request, the request is aborted.
* If an abort flag is set on an ongoing request, the engine checks to see if it is possible to abort the request.

### Declaration

```

          public Task AbortAllAsync()
    
  
```

### Returns

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

### Implements

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

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

## AbortAllAsync(AsyncHandle)

Sets an abort flag on all pending and ongoing requests in the current engine session.

* If an abort flag is set on a pending request, the request is aborted.
* If an abort flag is set on an ongoing request, the engine checks to see if it is possible to abort the request.

### Declaration

```

          public Task AbortAllAsync(AsyncHandle asyncHandle)
    
  
```

### 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 |

### Returns

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

### Implements

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