0 out of 1 rated this helpful - Rate this topic

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 type Condition
ArgumentOutOfRangeException The value specified for InactiveSleepTime is not greater than or equal to zero. Specify zero or a positive value.
Xbox 360, Windows 7, Windows Vista, Windows XP
Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ