共用方式為


IUIThreadOperationTimeoutController.OnTimeout(Boolean) Method

Definition

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.

Applies to