ICorDebugCode2 接口ICorDebugCode2 Interface

提供扩展 "ICorDebugCode" 的功能的方法。Provides methods that extend the capabilities of "ICorDebugCode".

方法Methods

方法Method 说明Description
GetCodeChunks 方法GetCodeChunks Method 获取包含此代码对象的代码块。Gets the chunks of code that this code object is composed of.
GetCompilerFlags 方法GetCompilerFlags Method 获取标志,这些标志指定此代码对象是实时(JIT)编译或使用本机映像生成器(Ngen.exe)生成的。Gets the flags that specify the conditions under which this code object was either just-in-time (JIT) compiled or generated using the native image generator (Ngen.exe).

备注Remarks

备注

此接口不支持跨计算机或跨进程远程调用。This interface does not support being called remotely, either cross-machine or cross-process.

要求Requirements

平台: 请参阅系统要求Platforms: See System Requirements.

标头:CorDebug.idl、CorDebug.hHeader: CorDebug.idl, CorDebug.h

库: CorGuids.libLibrary: CorGuids.lib

.NET Framework 版本:自 2.0 之后可用Available since 2.0.NET Framework Versions: 自 2.0 之后可用Available since 2.0

另请参阅See also