DirectXException Class (Microsoft.DirectX)
Describes the root exception class for all Microsoft DirectX 9.0 for Managed Code exceptions.
Definition
Visual Basic Public Class DirectXException
Inherits ApplicationExceptionC# public class DirectXException : ApplicationException C++ public ref class DirectXException : ApplicationException JScript public class DirectXException extends ApplicationException
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. Methods
Method Description DirectXException Initializes a new instance of the DirectXException class. EnableExceptions Enables DirectX 9.0 for Managed Code exception throwing. GetDirectXErrorString Retrieves a string that contains the name of the DirectX error code. GetExceptionFromResultInternal Retrieves the Exception object associated with the resultCode passed in. IgnoreExceptions Disables DirectX 9.0 for Managed Code exception throwing. ToString Obtains the string representation of the current instance. Properties
Property Description ErrorCode Retrieves or sets the integer value result code. ErrorString Retrieves the error string that is specific to DirectX 9.0 for Managed Code. LastError Retrieves the error status for the last operation that failed.
Inheritance Hierarchy
DirectXException
Class Information
Namespace Microsoft.DirectX Assembly Microsoft.DirectX (microsoft.directx.dll) Strong Name Microsoft.DirectX, Version=1.0.900.0, Culture=neutral, PublicKeyToken=d3231b57b74a1492