DirectXException.GetExceptionFromResultInternal(Int32) Method (Microsoft.DirectX)
Retrieves the Exception object associated with the resultCode passed in.
Definition
Visual Basic Public Shared Function GetExceptionFromResultInternal( _
ByVal resultCode As Integer _
) As ExceptionC# public static Exception GetExceptionFromResultInternal(
int resultCode
);C++ public:
static Exception^ GetExceptionFromResultInternal(
int resultCode
);JScript public static function GetExceptionFromResultInternal(
resultCode : int
) : Exception;
Parameters
resultCode System.Int32
Result code of the failed method that caused this exception.
Return Value
System.Exception
An Exception object that contains the new exception created from passing in resultCode.
Applies To
Direct3DXException, DirectPlayException, GraphicsException, GraphicsException, InputException, SoundException