Skip to main content Skip to complementary content

CancelRequestAsync Method

Overloads

CancelRequestAsync(AsyncHandle)

Cancels an ongoing request. The request is stopped.

CancelRequestAsync(Int32)

Cancels an ongoing request. The request is stopped.

CancelRequestAsync(AsyncHandle, Int32)

Cancels an ongoing request. The request is stopped.

CancelRequestAsync(AsyncHandle)

Cancels an ongoing request. The request is stopped.

Declaration

      public Task CancelRequestAsync(AsyncHandle asyncHandle)
    

Parameters

Type Name Description
AsyncHandle asyncHandle

Corresponds to the identifier for the call.

Returns

Type Description
System.Threading.Tasks.Task

Implements

CancelRequestAsync(Int32)

Cancels an ongoing request. The request is stopped.

Declaration

      public 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

Implements

CancelRequestAsync(AsyncHandle, Int32)

Cancels an ongoing request. The request is stopped.

Declaration

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

Parameters

Type Name Description
AsyncHandle asyncHandle

Handle to asynchronous method request

System.Int32 requestId

Identifier of the request to stop.

Returns

Type Description
System.Threading.Tasks.Task

Implements

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!