IXCLRDataExceptionState::GetPrevious Method
For nested exceptions, this gets the exception that was being handled when this exception occurred.
Note
This API was originally designed for internal use in the runtime. Although it is now supported for 3rd party use, we recommend working with ICorDebug
and ICorProfiler
APIs when possible.
Syntax
HRESULT GetPrevious(
[out] IXCLRDataExceptionState **exState
);
Parameters
exState
[out] The exception that was being handled when this exception occurred.
Remarks
The provided method is part of the IXCLRDataExceptionState
interface and corresponds to the 5th slot of the virtual method table.
Requirements
Platforms: See System Requirements. Header: None Library: None .NET Framework Versions: Available since 4.7
See also
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.