Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
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 object that represents the application domain into which the class has been loaded.


[in] A pointer to an ICorDebugClass 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: 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