Click or drag to resize

IShutdownServiceShutdown Method

Attemps to close the IDE.

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

Return Value

Boolean

[Missing <returns> documentation for "M:Altaxo.Main.Services.IShutdownService.Shutdown"]

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