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

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


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;


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

Return Value

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

Applies To

Direct3DXException, DirectPlayException, GraphicsException, GraphicsException, InputException, SoundException