Share via


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: See .NET Framework System Requirements.

Header: CorDebug.idl, CorDebug.h

Library: CorGuids.lib

.NET Framework Versions: 4, 3.5 SP1, 3.5, 3.0 SP1, 3.0, 2.0 SP1, 2.0, 1.1, 1.0

See Also

Reference

ICorDebugFrame Interface