LoadClass Method

ICorDebugManagedCallback::LoadClass Method

Notifies the debugger that a class has been loaded.

HRESULT LoadClass (
    [in] ICorDebugAppDomain *pAppDomain,
    [in] ICorDebugClass     *c



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


[in] A pointer to an ICorDebugClass Interface object that represents the class.

This callback occurs only if class loading has been enabled for the module that contains the class. Class loading is always enabled for dynamic modules.

The LoadClass callback provides an appropriate time to bind breakpoints to newly generated classes in dynamic modules.

Platforms: Windows 2000, Windows XP, Windows Server 2003 family

Header: CorDebug.idl

Library: CorGuids.lib

.NET Framework Version: 2.0, 1.1, 1.0

Community Additions

© 2016 Microsoft