Sdílet prostřednictvím


Application.Exit Method

Definition

Shuts down the app.

public:
 virtual void Exit() = Exit;
void Exit();
public void Exit();
function 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.

Applies to