Click or drag to resize

IShutdownServiceAddBackgroundTask 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.Main.Services
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
void AddBackgroundTask(
	Task task
)

Parameters

task  Task
The background task to track.
Remarks
This method is thread-safe.
See Also