GraphicsException.GetExceptionFromResultInternal(Int32) Method (Microsoft.DirectX.Direct3D)
Retrieves an Exception object that represents the result code passed in.
Definition
Visual Basic Public Shadows Shared Function GetExceptionFromResultInternal( _
ByVal resultCode As Integer _
) As ExceptionC# public new static Exception GetExceptionFromResultInternal(
int resultCode
);C++ public:
static Exception^ GetExceptionFromResultInternal(
int resultCode
);JScript public hide 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 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