Click or drag to resize

IGuiFactoryServiceExecuteAsUserCancellable Method

Executes an action that can be cancelled by the user.

Namespace: Altaxo.Main.Services
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
Exception? ExecuteAsUserCancellable(
	int millisecondsDelay,
	Action<IProgressReporter> action
)

Parameters

millisecondsDelay  Int32
The delay before showing cancellation UI.
action  ActionIProgressReporter
The action to execute.

Return Value

Exception
The exception thrown by the action, or if execution finished without an exception.
See Also