SoundException.GetExceptionFromResultInternal(Int32) Method (Microsoft.DirectX.DirectSound)

Retrieves an ExceptionLeave Site object that represents the result code passed in.

Definition

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

Parameters

resultCode System.Int32
Integer that represents the result code of the exception.

Return Value

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

Applies To

AccessDeniedException, AllocatedException, BadFormatException, BadSendBufferGuidException, BufferLostException, BufferTooSmallException, ControlUnavailableException, EffectsUnavailableException, InvalidCallException, NoAggregationException, NoDriverException, ObjectNotFoundException, OtherApplicationHasPriorityException, PriorityLevelNeededException, SendLoopException, UnsupportedException