IUIThreadOperationTimeoutController.ShouldCancel Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets whether an operation, whose execution time exceeded CancelAfter timeout should be cancelled.
public:
bool ShouldCancel();
public bool ShouldCancel ();
abstract member ShouldCancel : unit -> bool
Public Function ShouldCancel () As Boolean
Returns
Remarks
This callback can be used to disable auto-cancellation when an operation already passed the point of no cancellation and it would leave system in an inconsistent state. This method is called on a background thread.