Microsoft DirectX 9.0 SDK Update (October 2004)

DeviceLostException Class

Language:

Note: This documentation is preliminary and is subject to change.

The device has been lost but cannot be reset at this time. Therefore, rendering is not possible.

Definition

Visual Basic .NET Public Class DeviceLostException
   Inherits GraphicsException 
C# public class DeviceLostException : GraphicsException
Managed C++ public __gc class DeviceLostException  : public GraphicsException
JScript .NET public class DeviceLostException extends GraphicsException

Members Table

Field Description
static (Shared in Visual Basic .NET) IsExceptionIgnored Specifies whether DirectX 9.0 for Managed Code exceptions are enabled or disabled. Inherited from DirectXException.
Method Description
DeviceLostException Initializes a new instance of the DeviceLostException class.
static (Shared in Visual Basic .NET) EnableExceptions Enables Microsoft® DirectX® 9.0 for Managed Code exception throwing. Inherited from DirectXException.
static (Shared in Visual Basic .NET) GetDirectXErrorString Retrieves a string that contains the name of the DirectX error code. Inherited from DirectXException.
static (Shared in Visual Basic .NET) GetExceptionFromResultInternal Retrieves an Exception Leave Site object that represents the result code passed in. Inherited from GraphicsException.
static (Shared in Visual Basic .NET) 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.
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.
static (Shared in Visual Basic .NET) LastError Retrieves the error status for the last operation that failed. Inherited from DirectXException.

Inheritance Hierarchy

Object Leave Site
Exception Leave Site

Class Information

Namespace Microsoft.DirectX.Direct3D
Assembly Microsoft.DirectX.Direct3D (microsoft.directx.direct3d.dll)
Strong Name Microsoft.DirectX.Direct3D,  Version=1.0.2902.0,  Culture=neutral,  PublicKeyToken=31bf3856ad364e35

© 2004 Microsoft Corporation. All rights reserved. Terms of use.

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