ICorDebugModuleDebugEvent::GetModule 方法

获取刚刚加载或卸载的合并模块。

Syntax

HRESULT GetModule(
   [out]ICorDebugModule **ppModule
);

参数

ppModule [out]指向 ICorDebugModule 对象的地址的指针,该对象表示刚刚加载或卸载的合并模块。

注解

可以调用 GetEventKind 方法来确定模块是加载还是卸载。

注释

此方法仅适用于 .NET Native。

要求

平台: 请参阅 .NET 支持的作系统

页眉: CorDebug.idl、CorDebug.h

图书馆: CorGuids.lib

.NET 版本: 自 .NET Framework 4.6 起可用

另请参阅