Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
CallFunction Method

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[]


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


[in] The number of arguments for the function.


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

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.

Platforms: WindowSee .NET Framework System Requirements.

Header: CorDebug.idl, CorDebug.h

Library: CorGuids.lib

.NET Framework Versions: 1.1, 1.0

© 2015 Microsoft