IControlledApplicationLifetimeShutdown Method
Shuts down the application and sets the exit code that is returned to the operating system when the application exits.
Namespace: Avalonia.Controls.ApplicationLifetimesAssembly: Avalonia.Controls (in Avalonia.Controls.dll) Version: 11.3.999
void Shutdown(
int exitCode = 0
)
Sub Shutdown (
Optional exitCode As Integer = 0
)
abstract Shutdown :
?exitCode : int
(* Defaults:
let _exitCode = defaultArg exitCode 0
*)
-> unit
Parameters
- exitCode Int32 (Optional)
- An integer exit code for an application. The default exit code is 0.