Share via

Application.Exit Method


Shuts down the app.

 virtual void Exit() = Exit;
void Exit();
public void Exit();
function exit()
Public Sub Exit ()


Use this method to provide UI that enables users to exit your app. Normally, however, you should not provide this UI because the system automatically manages app lifetime and terminates suspended apps as needed to free resources.

Applies to