CallFunction Method
Collapse the table of content
Expand the table of content

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

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.

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

Header: CorDebug.idl, CorDebug.h

Library: CorGuids.lib

.NET Framework Versions: 1.1, 1.0

Show:
© 2016 Microsoft