GraphicsDevice.raise_DeviceLost Method

Occurs when a GraphicsDevice is about to be lost (for example, immediately before a reset).

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

Syntax

protected void raise_DeviceLost (
         Object value0,
         EventArgs value1
)

Parameters

  • value0
    The source of this event.
  • value1
    The event arguments that are associated with the action that raised the event.

See Also

Reference

GraphicsDevice Class
GraphicsDevice Members
Microsoft.Xna.Framework.Graphics Namespace

Platforms

Xbox 360, Windows XP SP2, Windows Vista