IControlledApplicationLifetimeShutdown 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) Version: 11.3.999
void Shutdown(
	int exitCode = 0
)

Parameters

exitCode  Int32  (Optional)
An integer exit code for an application. The default exit code is 0.

See Also