Shutdown Method
Shuts down the application and sets the exit code that is returned to the operating system when the application exits.
Definition
Namespace: Avalonia.Controls.ApplicationLifetimes
Assembly: Avalonia.Controls (in Avalonia.Controls.dll)
- C#
- VB
- F#
void Shutdown(
int exitCode = 0
)
Sub Shutdown (
Optional exitCode As Integer = 0
)
abstract Shutdown :
?exitCode : int
(* Defaults:
let _exitCode = defaultArg exitCode 0
*)
-> unit
Parameters
- Int32 (Optional)
- An integer exit code for an application. The default exit code is 0.
See Also
Reference
IControlledApplicationLifetime Interface
Avalonia.Controls.ApplicationLifetimes Namespace