Click or drag to resize

IShutdownServiceDelayedShutdownToken Property

Gets a cancellation token that gets signalled a couple of seconds after the ShutdownToken. This cancellation token may be used to stop background calculations that should run for a limited time after the application is closed (e.g. saving state in caches - work that should better run even though we're shutting down, but shouldn't take too long either)

Namespace: Altaxo.Main.Services
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
CancellationToken DelayedShutdownToken { get; }

Property Value

CancellationToken
Remarks
This property is thread-safe.
See Also