Click or drag to resize

GUIFactoryServiceExecuteAsUserCancellable Method

Executes a user-cancellable action.

Namespace: Altaxo.Main.Services
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
public abstract 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.

Implements

IGuiFactoryServiceExecuteAsUserCancellable(Int32, ActionIProgressReporter)
See Also