Application.Exit Application.Exit Application.Exit Application.Exit Method

Definition

Shuts down the app.

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

Remarks

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.