# CancelRequestAsync Method

## Overloads

| [CancelRequestAsync(AsyncHandle)](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Engine.IHub.CancelRequestAsync.htm#Qlik_Engine_IHub_CancelRequestAsync_Qlik_Engine_AsyncHandle_) |  | Cancels an ongoing request. The request is stopped. |
| --- | --- | --- |
| [CancelRequestAsync(Int32)](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Engine.IHub.CancelRequestAsync.htm#Qlik_Engine_IHub_CancelRequestAsync_System_Int32_) |  | Cancels an ongoing request. The request is stopped. |
| [CancelRequestAsync(AsyncHandle, Int32)](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Engine.IHub.CancelRequestAsync.htm#Qlik_Engine_IHub_CancelRequestAsync_Qlik_Engine_AsyncHandle_System_Int32_) |  | Cancels an ongoing request. The request is stopped. |

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

## CancelRequestAsync(AsyncHandle)

Cancels an ongoing request. The request is stopped.

### Declaration

```

          Task CancelRequestAsync(AsyncHandle asyncHandle)
    
  
```

### Parameters

| Type | Name | Description |
| --- | --- | --- |
| [AsyncHandle](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Engine.AsyncHandle.htm) | asyncHandle | Corresponds to the identifier for the call. |

### Returns

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

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

## CancelRequestAsync(Int32)

Cancels an ongoing request. The request is stopped.

### Declaration

```

          Task CancelRequestAsync([QixName("qRequestId")] int requestId)
    
  
```

### Parameters

| Type | Name | Description |
| --- | --- | --- |
| System.Int32 | requestId | Identifier of the request to stop. |

### Returns

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

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

## CancelRequestAsync(AsyncHandle, Int32)

Cancels an ongoing request. The request is stopped.

### Declaration

```
Task CancelRequestAsync(AsyncHandle asyncHandle, [QixName("qRequestId")] int requestId)
```

### 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.Int32 | requestId | Identifier of the request to stop. |

### Returns

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