DeviceLostException Class (Microsoft.DirectX.Direct3D)
The device has been lost but cannot be reset at this time. Therefore, rendering is not possible.
Definition
Visual Basic Public Class DeviceLostException
Inherits GraphicsExceptionC# public class DeviceLostException : GraphicsException C++ public ref class DeviceLostException : GraphicsException JScript public class DeviceLostException extends GraphicsException
Members Table
The following table lists the members exposed by the object.
Fields
Field Description IsExceptionIgnored
Specifies whether DirectX 9.0 for Managed Code exceptions are enabled or disabled. Inherited from DirectXException. Methods
Method Description DeviceLostException Initializes a new instance of the DeviceLostException class. EnableExceptions
Enables Microsoft DirectX 9.0 for Managed Code exception throwing. Inherited from DirectXException. GetDirectXErrorString
Retrieves a string that contains the name of the DirectX error code. Inherited from DirectXException. GetExceptionFromResultInternal
Retrieves an Exception object that represents the result code passed in. Inherited from GraphicsException.
IgnoreExceptions
Disables DirectX 9.0 for Managed Code exception throwing. Inherited from DirectXException. ToString Obtains the string representation of the current instance. Inherited from DirectXException. Properties
Property Description ErrorCode Retrieves or sets the integer value result code. Inherited from DirectXException. ErrorString Retrieves the error string that is specific to DirectX 9.0 for Managed Code. Inherited from DirectXException. LastError
Retrieves the error status for the last operation that failed. Inherited from DirectXException.
Inheritance Hierarchy
DeviceLostException
Class Information
Namespace Microsoft.DirectX.Direct3D Assembly Microsoft.DirectX.Direct3D (microsoft.directx.direct3d.dll) Strong Name Microsoft.DirectX.Direct3D, Version=1.0.900.0, Culture=neutral, PublicKeyToken=d3231b57b74a1492