ICorDebugEval::CallFunction Method

Sets up a call to the specified function.

This method is obsolete in the .NET Framework version 2.0. Use ICorDebugEval2::CallParameterizedFunction instead.

HRESULT CallFunction (
    [in] ICorDebugFunction  *pFunction,
    [in] ULONG32            nArgs,
    [in, size_is(nArgs)] ICorDebugValue *ppArgs[]
);

Parameters

  • pFunction
    [in] Pointer to an ICorDebugFunction object that specifies the function to be called.

  • nArgs
    [in] The number of arguments for the function.

  • ppArgs
    [in] An array of pointers, each of which points to an ICorDebugValue object that specifies an argument to be passed to the function.

Remarks

If the function is virtual, CallFunction will perform virtual dispatch. If the function is in a different application domain, a transition will occur as long as all arguments are also in that application domain.

Requirements

Platforms: Windows 2000, Windows XP, Windows Server 2003 family

Header: CorDebug.idl

Library: CorGuids.lib

.NET Framework Version: 1.1, 1.0

See Also

Concepts

ICorDebugEval Interface

ICorDebugEval2::CallParameterizedFunction Method