IShutdownServicePreventShutdown Method |
Prevents shutdown with the following reason.
Dispose the returned value to allow shutdown again.
Namespace: Altaxo.Main.ServicesAssembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3572.0 (4.8.3572.0)
SyntaxIDisposable PreventShutdown(
string reason
)
Parameters
- reason String
- The reason, will be displayed to the user.
Return Value
IDisposableAn
IDisposable that must be disposed to allow shutdown again.
Exceptions
RemarksThis method is thread-safe.
See Also