IXCLRDataTask::GetCurrentExceptionState Method

Gets the current exception state for the task, if any. This may be the first element in a list of exception states if there are nested exceptions.

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 GetCurrentExceptionState(
    [out] IXCLRDataExceptionState **exception
);

Parameters

exception
[out] The current exception state for the task.

Remarks

The provided method is part of the IXCLRDataTask interface and corresponds to the 16th slot of the virtual method table.

Requirements

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

See also