ICorDebugEval2 Interface
Extends ICorDebugEval Interface to provide support for generic types.
interface ICorDebugEval2 : IUnknown {
HRESULT CallParameterizedFunction (
[in] ICorDebugFunction *pFunction,
[in] ULONG32 nTypeArgs,
[in, size_is(nTypeArgs)] ICorDebugType *ppTypeArgs[],
[in] ULONG32 nArgs,
[in, size_is(nArgs)] ICorDebugValue *ppArgs[]
);
HRESULT CreateValueForType (
[in] ICorDebugType *pType,
[out] ICorDebugValue **ppValue
);
HRESULT NewParameterizedArray(
[in] ICorDebugType *pElementType,
[in] ULONG32 rank,
[in, size_is(rank)] ULONG32 dims[],
[in, size_is(rank)] ULONG32 lowBounds[]
);
HRESULT NewParameterizedObject (
[in] ICorDebugFunction *pConstructor,
[in] ULONG32 nTypeArgs,
[in, size_is(nTypeArgs)] ICorDebugType *ppTypeArgs[],
[in] ULONG32 nArgs,
[in, size_is(nArgs)] ICorDebugValue *ppArgs[]
);
HRESULT NewParameterizedObjectNoConstructor (
[in] ICorDebugClass *pClass,
[in] ULONG32 nTypeArgs,
[in, size_is(nTypeArgs)] ICorDebugType *ppTypeArgs[]
);
HRESULT NewStringWithLength (
[in] LPCWSTR string,
[in] UINT uiLength
);
HRESULT RudeAbort (void);
};
Methods
Method | Description |
---|---|
Sets up a call to the specified ICorDebugFunction Interface, which can be nested inside a type whose constructor takes type parameters, or can itself take type parameters. |
|
Gets a pointer to a new ICorDebugValue Interface of the specified type, with an initial value of null or zero. |
|
Allocates a new array of the specified element type and dimensions. |
|
Instantiates a new parameterized type object and calls the object's constructor method. |
|
Instantiates a new parameterized type object of the specified class without attempting to call a constructor method |
|
Creates a new string of the specified length with the specified contents. |
|
Aborts the computation that this ICorDebugEval2 is currently performing. |
Requirements
Platforms: Windows 2000, Windows XP, Windows Server 2003 family
Header: CorDebug.idl
Library: CorGuids.lib
.NET Framework Version: 2.0