ICorDebugManagedCallback::LoadModule 方法

通知调试器已成功加载公共语言运行时 (CLR) 模块。

语法

HRESULT LoadModule (  
    [in] ICorDebugAppDomain *pAppDomain,  
    [in] ICorDebugModule    *pModule  
);  

参数

pAppDomain
[in] 指向 ICorDebugAppDomain 对象的指针,此对象表示已载入模块的应用程序域。

pModule
[in] 指向 ICorDebugModule 对象的指针,此对象表示 CLR 模块。

备注

LoadModule 回调提供适当的时间来检查模块的元数据,设置即时 (JIT) 编译器标志,或者启用或禁用模块的类加载回调。

要求

平台:请参阅系统要求

标头:CorDebug.idl、CorDebug.h

库:CorGuids.lib

.NET Framework 版本:自 1.0 起可用

请参阅