ICorDebugManagedCallback::LoadModule 方法

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

Syntax

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

参数

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

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

注解

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

要求

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

页眉: CorDebug.idl、CorDebug.h

图书馆: CorGuids.lib

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

另请参阅