Share via


DirectXException.EnableExceptions() Method (Microsoft.DirectX)

Enables Microsoft DirectX 9.0 for Managed Code exception throwing.

Definition

Visual Basic Public Shared Sub EnableExceptions()
C# public static void EnableExceptions();
C++ public:
static void EnableExceptions();
JScript public static function EnableExceptions();

Applies To

Direct3DXException, DirectPlayException, GraphicsException, GraphicsException, InputException, SoundException