CoreApplication.Exit Method


Shuts down the app.

 static void Exit();
 static void Exit();
public static void Exit();
function exit()
Public Shared Sub Exit ()


Starting with Windows 10, calling this method is no longer is treated as an app crash.

Don't call this method from within an activation event handler.

Windows Phone 8

This API is supported in native apps only.

Applies to