Muokkaa

Jaa


IXCLRDataStackWalk::GetFrame Method

Gets the current frame of the stack walk, if it is recognized. Note that upon creation, the stack walk is positioned "before" the first frame on the stack. Debuggers must call the Next method to advance to the first frame before any other functions will work.

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 GetFrame(
    [out] IXCLRDataFrame **frame
);

Parameters

frame
[out] The current frame of the stack walk.

Remarks

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

Requirements

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

See also