AbortRequestAsync Method
Overloads
| AbortRequestAsync(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. |
|
| AbortRequestAsync(AsyncHandle, 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. |
AbortRequestAsync(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 Task AbortRequestAsync([QixName("qRequestId")] int requestId)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | requestId |
Identifier of request to abort. |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task |
Implements
AbortRequestAsync(AsyncHandle, 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 Task AbortRequestAsync(AsyncHandle asyncHandle, [QixName("qRequestId")] int requestId)
Parameters
| Type | Name | Description |
|---|---|---|
| AsyncHandle | asyncHandle |
Handle to asynchronous method request |
| System.Int32 | requestId |
Identifier of request to abort. |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task |