IUIThreadOperationTimeoutController.OnTimeout(Boolean) 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.
An event callback raised when an operation execution timeout was reached.
public:
void OnTimeout(bool wasExecutionCancelled);
public void OnTimeout (bool wasExecutionCancelled);
abstract member OnTimeout : bool -> unit
Public Sub OnTimeout (wasExecutionCancelled As Boolean)
Parameters
- wasExecutionCancelled
- Boolean
Indicates whether an operation was auto-cancelled.
Might be false
if the operation is not cancellable (AllowCancellation
is false
or ShouldCancel() returned false
.
Remarks
This method is called on a background thread.