DirectXException.GetExceptionFromResultInternal Method

Language:

Note: This documentation is preliminary and is subject to change.

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

Definition

Visual Basic .NET Public Shared Function GetExceptionFromResultInternal( _
    ByVal resultCode As Integer _
) As Exception
C# public static Exception GetExceptionFromResultInternal(
    int resultCode
);
Managed C++ public: static Exception* GetExceptionFromResultInternal(
    int resultCode
);
JScript .NET 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

© 2004 Microsoft Corporation. All rights reserved. Terms of use.

Feedback? Please provide us with your comments on this topic.