ControlUnavailableException Class (Microsoft.DirectX.DirectSound)

The buffer control (volume, pan, and so on) requested by the caller is not available. Controls must be specified when the buffer is created.


Visual Basic Public Class ControlUnavailableException
    Inherits SoundException
C# public class ControlUnavailableException : SoundException
C++ public ref class ControlUnavailableException : SoundException
JScript public class ControlUnavailableException extends SoundException

Members Table

The following table lists the members exposed by the object.


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


Method Description
ControlUnavailableException Initializes a new instance of the ControlUnavailableException class.
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 Retrieves an ExceptionLeave Site object that represents the result code passed in. Inherited from SoundException.
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.


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

Class Information

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