Microsoft DirectX 9.0 SDK Update (October 2004)

GraphicsException.GetExceptionFromResultInternal Method

Language:

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

Retrieves an Exception Leave Site object that represents the result code 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. Integer that represents the result code of the exception to retrieve.

Return Value

System.Exception . An Exception Leave Site object that represents the error that occurred.

Applies To

ConflictingRenderStateException, ConflictingTextureFilterException, ConflictingTexturePaletteException, DeviceLostException, DeviceNotResetException, DriverInternalErrorException, DriverInvalidCallException, InvalidCallException, InvalidDeviceException, MoreDataException, NotAvailableException, NotFoundException, OutOfVideoMemoryException, TooManyOperationsException, UnsupportedAlphaArgumentException, UnsupportedAlphaOperationException, UnsupportedColorArgumentException, UnsupportedColorOperationException, UnsupportedFactorValueException, UnsupportedTextureFilterException, WasStillDrawingException, WrongTextureFormatException

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

Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center