Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

Game.Exit Method

Exits the game.

Namespace: Microsoft.Xna.Framework
Assembly: Microsoft.Xna.Framework.Game (in microsoft.xna.framework.game.dll)

public void Exit ()

Exception typeCondition
InvalidOperationExceptionThe current platform does not allow games to exit.

Xbox 360, Windows XP SP2, Windows Vista

© 2015 Microsoft