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 applicaiton closing down.

Namespace: Altaxo.Main.Services
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
void AddBackgroundTask(
	Task task
)

Parameters

task  Task

[Missing <param name="task"/> documentation for "M:Altaxo.Main.Services.IShutdownService.AddBackgroundTask(System.Threading.Tasks.Task)"]

Remarks
This method is thread-safe.
See Also