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.
Phản hồi
https://aka.ms/ContentUserFeedback.
Sắp ra mắt: Trong năm 2024, chúng tôi sẽ dần gỡ bỏ Sự cố với GitHub dưới dạng cơ chế phản hồi cho nội dung và thay thế bằng hệ thống phản hồi mới. Để biết thêm thông tin, hãy xem:Gửi và xem ý kiến phản hồi dành cho