ICorDebugFrame::GetFunction Method

Gets the function that contains the code associated with this stack frame.

Syntax

HRESULT GetFunction (
    [out] ICorDebugFunction  **ppFunction
);

Parameters

ppFunction [out] A pointer to the address of an ICorDebugFunction object that represents the function containing the code associated with this stack frame.

Remarks

The GetFunction method may fail if the frame is not associated with any particular function.

Requirements

Platforms: See System Requirements.

Header: CorDebug.idl, CorDebug.h

Library: CorGuids.lib

.NET Framework Versions: Available since 1.0