Partager via


GraphicsDeviceManager.OnDeviceResetting Method

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

Syntax

'Declaration
Protected Overridable Sub OnDeviceResetting ( _
         sender As Object, _
         args As EventArgs _
)
protected virtual void OnDeviceResetting (
         Object sender,
         EventArgs args
)
protected:
virtual void OnDeviceResetting(
         Object sender,
         EventArgs args
)

Parameters

Requirements

Namespace: Microsoft.Xna.Framework

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

See Also

Reference

GraphicsDeviceManager Class
GraphicsDeviceManager Members
Microsoft.Xna.Framework Namespace

Platforms

Windows Phone