RenderToSurface.Reset Event

Language:

Occurs after the RenderToSurface.OnResetDevice method is called or after the Device is reset.

Definition

Visual Basic Public Event Reset As EventHandler
C# public event EventHandler Reset;
C++ public:
event EventHandlerReset;
JScript In JScript, you can use events, but you cannot define your own.

Remarks

To add an event handler that listens for a RenderToSurface.OnResetDevice event, use the following C# code.

[C#]
rts.Reset += new System.EventHandler(this.ResetEventHandler);


Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.

Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center