ICorDebugManagedCallback::LoadModule Method


Notifies the debugger that a common language runtime (CLR) module has been successfully loaded.

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


[in] A pointer to an ICorDebugAppDomain object that represents the application domain into which the module has been loaded.

[in] A pointer to an ICorDebugModule object that represents the CLR module.

The LoadModule callback provides an appropriate time to examine metadata for the module, set just-in-time (JIT) compiler flags, or enable or disable class loading callbacks for the module.

Platforms: See System Requirements.

Header: CorDebug.idl, CorDebug.h

Library: CorGuids.lib

.NET Framework Versions: Available since 1.0

UnloadModule Method
ICorDebugManagedCallback Interface