HasEffectsException Class (Microsoft.DirectX.DirectInput)

The device cannot be reinitialized because effects are attached to it.

Definition

Visual Basic Public Class HasEffectsException
    Inherits InputException
C# public class HasEffectsException : InputException
C++ public ref class HasEffectsException : InputException
JScript public class HasEffectsException extends InputException

Members Table

The following table lists the members exposed by the object.

Fields

Field Description
static (Shared in Visual Basic) IsExceptionIgnored Specifies whether DirectX 9.0 for Managed Code exceptions are enabled or disabled. Inherited from DirectXException.

Methods

Method Description
static (Shared in Visual Basic) EnableExceptions Enables Microsoft DirectX 9.0 for Managed Code exception throwing. Inherited from DirectXException.
static (Shared in Visual Basic) GetDirectXErrorString Retrieves a string that contains the name of the DirectX error code. Inherited from DirectXException.
static (Shared in Visual Basic) GetExceptionFromResultInternal  Inherited from InputException.
HasEffectsException Initializes a new instance of the object.
static (Shared in Visual Basic) 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.
static (Shared in Visual Basic) LastError Retrieves the error status for the last operation that failed. Inherited from DirectXException.

Inheritance Hierarchy

ObjectLeave Site

ExceptionLeave Site

ApplicationExceptionLeave Site

DirectXException

InputException

HasEffectsException

Class Information

Namespace Microsoft.DirectX.DirectInput
Assembly Microsoft.DirectX.DirectInput (microsoft.directx.directinput.dll)
Strong Name Microsoft.DirectX.DirectInput,  Version=1.0.900.0,  Culture=neutral,  PublicKeyToken=d3231b57b74a1492