ICorDebugModule2 介面ICorDebugModule2 Interface

作為 ICorDebugModule 介面的邏輯擴充。Serves as a logical extension to the ICorDebugModule interface.

方法Methods

方法Method 描述Description
ApplyChanges 方法ApplyChanges Method 將中繼資料中的變更,以及 Microsoft 中繼語言 (MSIL) 程式碼中的變更套用至執行中的進程。Applies the changes in the metadata and the changes in the Microsoft intermediate language (MSIL) code to the running process.
GetJITCompilerFlags 方法GetJITCompilerFlags Method 取得旗標,這些旗標會控制這個的即時 (JIT) 編譯 ICorDebugModule2Gets the flags that control the just-in-time (JIT) compilation for this ICorDebugModule2.
ResolveAssembly 方法ResolveAssembly Method 解析指定的元資料標記所參考的元件。Resolves the assembly referenced by the specified metadata token.
SetJITCompilerFlags 方法SetJITCompilerFlags Method 設定用來控制這個之 JIT 編譯的旗標 ICorDebugModule2Sets the flags that control the JIT compilation for this ICorDebugModule2.
SetJMCStatus 方法SetJMCStatus Method 將此 Just My Code (JMC 的所有方法) 狀態設定 ICorDebugModule2 為指定的值,但陣列中的這些方法 pTokens 會將其設定為相反值。Sets the Just My Code (JMC) status of all methods of all the classes in this ICorDebugModule2 to the specified value, except those in the pTokens array, which it sets to the opposite value.

備註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