DirectXException.GetDirectXErrorString Method

Language:

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

Definition

Visual Basic Public Shared Function GetDirectXErrorString( _
    ByVal errorCode As Integer _
) As String
C# public static string GetDirectXErrorString(
    int errorCode
);
C++ public:
static StringGetDirectXErrorString(
    int errorCode
);
JScript 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

Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.

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