IGuiFactoryServiceExecuteAsUserCancellable Method |
Executes an action that can be cancelled by the user.
Namespace: Altaxo.Main.ServicesAssembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3572.0 (4.8.3572.0)
SyntaxException? ExecuteAsUserCancellable(
int millisecondsDelay,
Action<IProgressReporter> action
)
Parameters
- millisecondsDelay Int32
- The delay before showing cancellation UI.
- action ActionIProgressReporter
- The action to execute.
Return Value
ExceptionThe exception thrown by the action, or
if execution finished without an exception.
See Also