Share via


DirectXException.GetExceptionFromResultInternal(Int32) Method (Microsoft.DirectX)

Retrieves the ExceptionLeave Site object associated with the resultCode passed in.

Definition

Visual Basic Public Shared Function GetExceptionFromResultInternal( _
    ByVal resultCode As Integer _
) As ExceptionLeave Site
C# public static ExceptionLeave Site GetExceptionFromResultInternal(
    int resultCode
);
C++ public:
static ExceptionLeave SiteGetExceptionFromResultInternal(
    int resultCode
);
JScript public static function GetExceptionFromResultInternal(
    resultCode : int
) : ExceptionLeave Site;

Parameters

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

Return Value

System.Exception
An ExceptionLeave Site object that contains the new exception created from passing in resultCode.

Applies To

Direct3DXException, DirectPlayException, GraphicsException, GraphicsException, InputException, SoundException