This documentation is archived and is not being maintained.

GraphicsDeviceManager.CanResetDevice Method

Determines whether the given GraphicsDeviceInformation is compatible with the existing graphics device.

Namespace: Microsoft.Xna.Framework
Assembly: Microsoft.Xna.Framework.Game (in

protected virtual bool CanResetDevice (
         GraphicsDeviceInformation newDeviceInfo


Information describing the desired device configuration.

Return Value

true if a device reset can be used to get a device compatible with the GraphicsDeviceInformation; false otherwise.

Xbox 360, Windows XP SP2, Windows Vista