GraphicsDeviceManager.OnDeviceResetting Method

Called when the device is about to be reset. Raises the DeviceResetting event.

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

protected virtual void OnDeviceResetting (
         Object sender,
         EventArgs args
)

Parameters

sender
The GraphicsDeviceManager.
args
Arguments for the DeviceResetting event.

Xbox 360, Windows XP SP2, Windows Vista

Show: