title | description | author | ms.service | ms.topic | ms.author | ms.date |
---|---|---|---|---|---|---|
class AsyncControl |
Documents the asynccontrol::undefined class of the Microsoft Information Protection (MIP) SDK. |
msmbaldwin |
information-protection |
reference |
mbaldwin |
11/07/2023 |
Class used to cancel async operation.
Members | Descriptions |
---|---|
public bool Cancel() | Calling cancel will result in a attempt to cancel the task, in case of success the appropriate onFailure callback will be called with mip::OperationCancelledError. This feature is dependent on the task dispatcher delegate (. |
Calling cancel will result in a attempt to cancel the task, in case of success the appropriate onFailure callback will be called with mip::OperationCancelledError. This feature is dependent on the task dispatcher delegate (.
See also: mip::TaskDispatcherDelegate),
Returns: False if cancel signal cannot be dispatched, true otherwise. Do not hold a strong reference to an AsyncControl object in a task completion block.