CoreApplication.Exit CoreApplication.Exit CoreApplication.Exit CoreApplication.Exit Method

Definition

Shuts down the app.

public : static void Exit()
static void Exit() const;
public static void Exit()
Public Shared Sub Exit()

Remarks

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.