Summary
Shuts down the application and sets the exit code that is returned to the operating system when the application exits.
- Namespace
- Avalonia
.Controls . Application Lifetimes - Containing Type
- I
Controlled Application Lifetime
Syntax
void Shutdown(int exitCode = 0)
Parameters
Name | Type | Description |
---|---|---|
exitCode | int | An integer exit code for an application. The default exit code is 0. |
Return Value
Type | Description |
---|---|
void |