GraphicsDevice.DeviceResetting Event
Occurs when a GraphicsDevice is resetting, allowing the application to cancel the default handling of the reset.
Namespace: Microsoft.Xna.Framework.Graphics
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)
Syntax
public event EventHandler DeviceResetting
Example
To add an event handler that listens for DeviceResetting, use the following C# code.
[C#] GraphicsDevice.DeviceResetting += new System.CancelEventHandler( this.GraphicsDeviceResettingEventHandler );
See Also
Reference
GraphicsDevice Class
GraphicsDevice Members
Microsoft.Xna.Framework.Graphics Namespace
Platforms
Xbox 360, Windows XP SP2, Windows Vista