Compartir a través de


IDebugEngine2::RemoveSetException

Applies to: yesVisual Studio noVisual Studio for Mac

Note

This article applies to Visual Studio 2017. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

Removes the specified exception so it is no longer handled by the debug engine.

Syntax

HRESULT RemoveSetException( 
   EXCEPTION_INFO* pException
);
int RemoveSetException( 
   EXCEPTION_INFO[] pException
);

Parameters

pException
[in] An EXCEPTION_INFO structure that describes the exception to be removed.

Return Value

If successful, returns S_OK; otherwise, returns an error code.

Remarks

The exception being removed must have been previously set by an earlier call to the SetException method.

To remove all set exceptions at once, call the RemoveAllSetExceptions method.

See also