Export (0) Print
Expand All

Game.InactiveSleepTime Property

Gets or sets the time to sleep when the game is inactive.

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

public TimeSpan InactiveSleepTime { get; set; }

Property Value

The time to sleep when the game is inactive.

Exception typeCondition
ArgumentOutOfRangeException The value specified for InactiveSleepTime is not greater than or equal to zero. Specify zero or a positive value.

Xbox 360, Windows XP SP2, Windows Vista

Show:
© 2014 Microsoft