CoreApplication.Exit Method (Windows.ApplicationModel.Core) - Windows apps

Shuts down the app.
docs.microsoft.com docs.microsoft.com