Click or drag to resize
CanvasDeviceRaiseDeviceLost Method
Raises an event on the device, indicating that it is no longer operational.

Namespace:  Microsoft.Graphics.Canvas
Assembly:  Microsoft.Graphics.Canvas (in Microsoft.Graphics.Canvas.dll) Version: 0.0.0.0
Syntax
C#
public void RaiseDeviceLost()
Remarks

This method should be called when your app has caught a device lost exception. See IsDeviceLost(Int32).

Calling this method will produce an error if there was no actual Direct3D device loss.

For more information, see Handling device lost.

See Also