Click or drag to resize

IShutdownServiceShutdown Method

Attempts to close the IDE.

Namespace: Altaxo.Main.Services
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
bool Shutdown()

Return Value

Boolean
if shutdown completed; otherwise, .
Remarks

This method:

  • Checks if PreventShutdown(String) was called and abort the shutdown if it was.
  • Prompts the user to save the open files. The user has the option to cancel the shutdown at that point.
  • Closes the solution.
  • Signals the ShutdownToken.
  • Disposes pads
  • Waits for background tasks (AddBackgroundTask(Task)) to finish.
  • Disposes services
  • Saves the PropertyService

This method must be called on the main thread.

See Also