Framework.DeviceReset Event (DeviceReset)

Occurs when the Microsoft Direct3D Device object is reset.

Definition

Visual Basic Event DeviceReset As Microsoft.Samples.DirectX.UtilityToolkit.DeviceEventHandler
C# event Microsoft.Samples.DirectX.UtilityToolkit.DeviceEventHandler DeviceReset;
C++ :
event Microsoft.Samples.DirectX.UtilityToolkit.DeviceEventHandlerDeviceReset;
JScript In JScript, you can use events, but you cannot define your own.

Remarks

When this event is triggered, it will return a Microsoft.Samples.DirectX.UtilityToolkit.DeviceEventArgs object that contains the Direct3D Device object that was reset and a description of the back buffer as a SurfaceDescription object.

Show: