# AbortRequest Method

## Overloads

| [AbortRequest(Int32)](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.Hub.AbortRequest.htm#Qlik_Engine_Hub_AbortRequest_System_Int32_) |  | Sets an abort flag on a specific request 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.AbortRequest.htm) [](https://help.qlik.com/en-US/sense-developer/Subsystems/NetSDKAPIref/Content/Qlik.Engine.Hub.AbortRequest.htm)

## AbortRequest(Int32)

Sets an abort flag on a specific request 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 void AbortRequest([QixName("qRequestId")] int requestId)
    
  
```

### Parameters

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

### Implements

[IHub.AbortRequest(Int32)](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.IHub.AbortRequest.htm#Qlik_Engine_IHub_AbortRequest_System_Int32_)