Microsoft DirectX 9.0 SDK Update (October 2004)

NoPaletteAttachedException Class

Language:

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

Warning: This class is deprecated. Deprecated components of Microsoft® DirectX® 9.0 for Managed Code are considered obsolete. While these components are still supported in this release of Microsoft® DirectX® 9.0 for Managed Code, they may be removed in the future. When writing new applications, you should avoid using these deprecated components. When modifying existing applications, you are strongly encouraged to remove any dependency on these components.
No palette object is attached to this surface. Deprecated.

Definition

Visual Basic .NET Public Class NoPaletteAttachedException
   Inherits GraphicsException 
C# public class NoPaletteAttachedException : GraphicsException
Managed C++ public __gc class NoPaletteAttachedException  : public GraphicsException
JScript .NET public class NoPaletteAttachedException 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
static (Shared in Visual Basic .NET) EnableExceptions Enables 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
Warning: This method is deprecated. Deprecated components of DirectX 9.0 for Managed Code are considered obsolete. While these components are still supported in this release of DirectX 9.0 for Managed Code, they may be removed in the future. When writing new applications, you should avoid using these deprecated components. When modifying existing applications, you are strongly encouraged to remove any dependency on these components.
Deprecated. Inherited from GraphicsException.
static (Shared in Visual Basic .NET) IgnoreExceptions Disables DirectX 9.0 for Managed Code exception throwing. Inherited from DirectXException.
NoPaletteAttachedException
Warning: This method is deprecated. Deprecated components of DirectX 9.0 for Managed Code are considered obsolete. While these components are still supported in this release of DirectX 9.0 for Managed Code, they may be removed in the future. When writing new applications, you should avoid using these deprecated components. When modifying existing applications, you are strongly encouraged to remove any dependency on these components.
Initializes a new instance of the object. Deprecated.
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.DirectDraw
Assembly Microsoft.DirectX.DirectDraw (microsoft.directx.directdraw.dll)
Strong Name Microsoft.DirectX.DirectDraw,  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