ILCodeKind 列舉ILCodeKind Enumeration

[.NET Framework 4.5.2 與更新版本提供支援][Supported in the .NET Framework 4.5.2 and later versions]

提供值,指定偵錯工具是否能夠存取分析工具 ReJIT 檢測中加入的區域變數或程式碼。Provides values that specify whether the debugger is able to access local variables or code added in profiler ReJIT instrumentation.


typedef enum ILCodeKind {  
   ILCODE_REJIT_IL = 0x2,  
} ILCodeKind;  


成員名稱Member name 描述Description
ILCODE_ORIGINAL_IL 偵錯工具無權存取 ReJIT 檢測的資訊。The debugger does not have access to information from ReJIT instrumentation.
ILCODE_REJIT_IL 偵錯工具有權存取 ReJIT 檢測的資訊。The debugger has access to information from ReJIT instrumentation.


列舉的成員 ILCodeKind 可以傳遞至 EnumerateLocalVariablesExGetLocalVariableEx 方法,以判斷偵錯工具是否可以存取在 profiler ReJIT 檢測中加入的變數,以及至 GetCodeEx 方法來判斷偵錯工具是否可以存取已檢測的 IL。A member of the ILCodeKind enumeration can be passed to the EnumerateLocalVariablesEx and GetLocalVariableEx methods to determine whether the debugger can access variables added in profiler ReJIT instrumentation, and to the GetCodeEx method to determine whether the debugger can access instrumented IL.


平台: 請參閱 系統需求Platforms: See System Requirements.

標頭: CorDebug.idl、CorDebug.hHeader: CorDebug.idl, CorDebug.h

程式庫: CorGuids.libLibrary: CorGuids.lib

.NET Framework 版本:自 4.5.2 起可用Available since 4.5.2.NET Framework Versions: 自 4.5.2 起可用Available since 4.5.2

另請參閱See also