DirectXException.GetDirectXErrorString(Int32) Method (Microsoft.DirectX)
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 StringC# public static string GetDirectXErrorString(
int errorCode
);C++ public:
static String^ GetDirectXErrorString(
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