IXCLRDataExceptionState Interface

Provides methods for querying information about the state of a managed exception.

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.

Methods

Method Description
Request Requests to populate the buffer given with the exception's data.
IsSameState Determines whether the exception state is the same as the given exception state.
IsSameState2 Determines whether the exception state is the same as the given exception state.
GetPrevious For nested exceptions, get the exception that was being handled when this exception occurred.
GetManagedObject Gets the managed object representing the exception.
GetString Gets exception information.

Remarks

This interface lives inside the runtime and is not exposed through any headers or library files. However, it's a COM interface that derives from IUnknown with GUID 75DA9E4C-BD33-43C8-8F5C-96E8A5241F57 that can be obtained through the usual COM mechanisms.

Requirements

Platforms: See System Requirements. Header: None Library: None .NET Framework Versions: Available since 4.7

See also