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.ServicesAssembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntaxvoid AddBackgroundTask(
Task task
)
Parameters
- task Task
- The background task to track.
RemarksThis method is thread-safe.
See Also