Share via


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 Method instead.

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

Parameters

  • nArgs
    [in] The number of arguments for the function.
  • ppArgs
    [in] An array of pointers, each of which points to an ICorDebugValue Interface 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

Reference

ICorDebugEval Interface
ICorDebugEval2::CallParameterizedFunction Method