class AsyncControl
Class used to cancel async operation.
Summary
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 (. |
Members
Cancel function
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.
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for