Skip to main content

IClassicDesktopStyleApplicationLifetime Methods

Methods

Shutdown(Int32)Shuts down the application and sets the exit code that is returned to the operating system when the application exits.
(Inherited from IControlledApplicationLifetime)
TryShutdown(Int32)Tries to Shutdown the application. ShutdownRequested event can be used to cancel the shutdown.

See Also

Reference

IClassicDesktopStyleApplicationLifetime Interface
Avalonia.Controls.ApplicationLifetimes Namespace