ICorDebugManagedCallback::LoadClass Method

Notifies the debugger that a class has been loaded.

Syntax

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

Parameters

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

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

Remarks

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.

Requirements

Platforms: See System Requirements.

Header: CorDebug.idl, CorDebug.h

Library: CorGuids.lib

.NET Framework Versions: Available since 1.0

See also