Click or drag to resize

GUIFactoryServiceShowTaskCancelDialog Method

Shows a cancellable dialog for a task-based background operation.

Namespace: Altaxo.Main.Services
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
public abstract bool ShowTaskCancelDialog(
	int millisecondsDelay,
	Task task,
	IExternalDrivenBackgroundMonitor monitor
)

Parameters

millisecondsDelay  Int32
The delay before showing the dialog.
task  Task
The task to monitor.
monitor  IExternalDrivenBackgroundMonitor
The monitor that reports progress and cancellation state.

Return Value

Boolean
if the operation completed successfully; otherwise, .

Implements

IGuiFactoryServiceShowTaskCancelDialog(Int32, Task, IExternalDrivenBackgroundMonitor)
See Also