ICorDebugModuleDebugEvent 介面ICorDebugModuleDebugEvent Interface

擴充 ICorDebugDebugEvent 介面,以支援模組層級的事件。Extends the ICorDebugDebugEvent interface to support module-level events.

方法Methods

方法Method 描述Description
GetModule 方法GetModule Method 取得剛載入或卸載的合併模組。Gets the merged module that was just loaded or unloaded.

備註Remarks

MODULE_LOADEDMODULE_UNLOADED事件種類會執行這個介面。The MODULE_LOADED and MODULE_UNLOADED event types implement this interface.

注意

這個介面僅適用於 .NET Native。The interface is available with .NET Native only. 嘗試在 .NET 原生之外的 ICorDebug 案例中呼叫 QueryInterface 以擷取介面指標,會傳回 E_NOINTERFACEAttempting to call QueryInterface to retrieve an interface pointer returns E_NOINTERFACE for ICorDebug scenarios outside of .NET Native.

規格需求Requirements

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

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

程式庫: CorGuids.libLibrary: CorGuids.lib

.NET Framework 版本:自 4.6 開始提供,僅限 .NET NativeAvailable since 4.6, .NET Native only.NET Framework Versions: 自 4.6 開始提供,僅限 .NET NativeAvailable since 4.6, .NET Native only

另請參閱See also