ICorDebugModule::EnableClassLoadCallbacks Method
Controls whether the ICorDebugManagedCallback::LoadClass Method and ICorDebugManagedCallback::UnloadClass Method callbacks are called for this module.
HRESULT EnableClassLoadCallbacks(
[in] BOOL bClassLoadCallbacks
);
Parameters
Parameter | Description |
---|---|
bClassLoadCallbacks |
[in] Set this value to true to enable the common language runtime (CLR) to call ICorDebugManagedCallback::LoadClass Method and ICorDebugManagedCallback::UnloadClass Method when their associated events occur. The default value is false for non-dynamic modules. The value is always true for dynamic modules and cannot be changed. |
Remarks
The ICorDebugManagedCallback::LoadClass Method and ICorDebugManagedCallback::UnloadClass Method callbacks are always enabled for dynamic modules and cannot be disabled.
Requirements
Platforms: Windows 2000, Windows XP, Windows Server 2003 family
Header: CorDebug.idl
Library: CorGuids.lib
.NET Framework Version: 2.0