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.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

Community Additions

ADD
Show:
© 2015 Microsoft