ICorDebugFrame::GetFunction Method

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

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: Windows 2000, Windows XP, Windows Server 2003 family

Header: CorDebug.idl

Library: CorGuids.lib

.NET Framework Version: 2.0, 1.1, 1.0

See Also

Concepts

ICorDebugFrame Interface