LoadModule Method

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 .NET Framework System Requirements.

Header: CorDebug.idl, CorDebug.h

Library: CorGuids.lib

.NET Framework Versions: 4.6, 4.5.2, 4.5.1, 4.5, 4, 3.5 SP1, 3.5, 3.0 SP1, 3.0, 2.0 SP1, 2.0, 1.1, 1.0

© 2015 Microsoft