ICorDebugModule 介面ICorDebugModule Interface

代表 common language runtime (CLR) 模組,這是可執行檔或動態連結程式庫 (DLL) 。Represents a common language runtime (CLR) module, which is either an executable file or a dynamic-link library (DLL).

方法Methods

方法Method 描述Description
CreateBreakpoint 方法CreateBreakpoint Method 未實作。Not implemented.
EnableClassLoadCallbacks 方法EnableClassLoadCallbacks Method 判斷是否針對此模組呼叫 ICorDebugManagedCallback:: LoadClassICorDebugManagedCallback:: UnloadClass 回呼。Determines whether the ICorDebugManagedCallback::LoadClass and ICorDebugManagedCallback::UnloadClass callbacks are called for this module.
EnableJITDebugging 方法EnableJITDebugging Method 判斷及時 (JIT) 編譯器是否保留此模組內方法的偵錯工具資訊。Determines whether the just-in-time (JIT) compiler preserves debugging information for methods within this module.
GetAssembly 方法GetAssembly Method 取得此模組的包含元件。Gets the containing assembly for this module.
GetBaseAddress 方法GetBaseAddress Method 取得模組的基底位址。Gets the base address of the module.
GetClassFromToken 方法GetClassFromToken Method 從中繼資料取得 ICorDebugClass。Gets the ICorDebugClass from the metadata.
GetEditAndContinueSnapshot 方法GetEditAndContinueSnapshot Method 已取代。Deprecated.
GetFunctionFromRVA 方法GetFunctionFromRVA Method 未實作。Not implemented.
GetFunctionFromToken 方法GetFunctionFromToken Method 取得元資料標記所指定的函式。Gets the function that is specified by the metadata token.
GetGlobalVariableValue 方法GetGlobalVariableValue Method 取得指定之全域變數的值物件。Gets a value object for the specified global variable.
GetMetaDataInterface 方法GetMetaDataInterface Method 取得中繼資料介面指標,可用來檢查模組的中繼資料。Gets a metadata interface pointer that can be used to examine the metadata for the module.
GetName 方法GetName Method 取得模組的檔案名。Gets the file name of the module.
GetProcess 方法GetProcess Method 取得此模組的包含進程。Gets the containing process for this module.
GetSize 方法GetSize Method 取得模組的大小(以位元組為單位)。Gets the size of the module in bytes.
GetToken 方法GetToken Method 取得此模組的資料表專案標記。Gets the token for the table entry for this module.
IsDynamic 方法IsDynamic Method 指出模組是否為動態。Indicates whether the module is dynamic.
IsInMemory 方法IsInMemory Method 指出此模組是否只存在於記憶體中。Indicates whether this module exists only in memory.

備註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 版本:自 1.0 起可用Available since 1.0.NET Framework Versions: 自 1.0 起可用Available since 1.0

另請參閱See also