ICorDebugManagedCallback::LoadModule 方法

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

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

参数

  • pAppDomain
    [in] 一个指向 ICorDebugAppDomain 对象的指针,该对象表示模块所加载到的应用程序域。

  • pModule
    [in] 一个指向 ICorDebugModule 对象的指针,该对象表示 CLR 模块。

备注

LoadModule 回调为执行下列操作提供了合适的时机:检查模块的元数据、设置实时 (JIT) 编译器标志、启用或禁用模块的类加载回调。

要求

**平台:**请参见 .NET Framework 系统要求

头文件: CorDebug.idl、CorDebug.h

**库:**CorGuids.lib

**.NET Framework 版本:**4、3.5 SP1、3.5、3.0 SP1、3.0、2.0 SP1、2.0、1.1、1.0

请参见

参考

ICorDebugManagedCallback::UnloadModule 方法

ICorDebugManagedCallback 接口