Click or drag to resize

ShutdownServiceAddBackgroundTask Method

Adds a background task on which the application should wait on shutdown. Use this method for tasks that asynchronously write state to disk and should not be interrupted by the application closing down.

Namespace: Altaxo.Gui.Workbench
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
public void AddBackgroundTask(
	Task task
)

Parameters

task  Task
The background task to track.

Implements

IShutdownServiceAddBackgroundTask(Task)
Remarks
This method is thread-safe.
See Also