DirectXException.GetDirectXErrorString Method

Language:

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

Retrieves a string that contains the name of the Microsoft® DirectX® error code.

Definition

Visual Basic .NET Public Shared Function GetDirectXErrorString( _
    ByVal errorCode As Integer _
) As String
C# public static string GetDirectXErrorString(
    int errorCode
);
Managed C++ public: static String* GetDirectXErrorString(
    int errorCode
);
JScript .NET public static function GetDirectXErrorString(
    errorCode : int
) : String;

Parameters

errorCode System.Int32. Result code of the failed method that caused this exception.

Return Value

System.String . A string that contains the name of the error code.

Applies To

Direct3DXException, DirectPlayException, GraphicsException, GraphicsException, InputException, SoundException

© 2004 Microsoft Corporation. All rights reserved. Terms of use.

Feedback? Please provide us with your comments on this topic.