Share via


GraphicsDeviceManager.OnDeviceDisposing Method

Called when a device is being disposed. Raises the DeviceDisposing event.

Syntax

'Declaration
Protected Overridable Sub OnDeviceDisposing ( _
         sender As Object, _
         args As EventArgs _
)
protected virtual void OnDeviceDisposing (
         Object sender,
         EventArgs args
)
protected:
virtual void OnDeviceDisposing(
         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