DirectXException.GetExceptionFromResultInternal Method

Language:

Retrieves the Exception Leave Site object associated with the resultCode passed in.

Definition

Visual Basic Public Shared Function GetExceptionFromResultInternal( _
    ByVal resultCode As Integer _
) As Exception
C# public static Exception GetExceptionFromResultInternal(
    int resultCode
);
C++ public:
static ExceptionGetExceptionFromResultInternal(
    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 Leave Site object that contains the new exception created from passing in resultCode.

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.