Skip to main content Skip to complementary content

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

      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

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

      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

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!