Exit Method

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

Show:
© 2016 Microsoft