Nóta
Aðgangur að þessari síðu krefst heimildar. Þú getur prófað aðskrá þig inn eða breyta skráasöfnum.
Aðgangur að þessari síðu krefst heimildar. Þú getur prófað að breyta skráasöfnum.
Controls whether the ICorDebugManagedCallback::LoadClass and ICorDebugManagedCallback::UnloadClass callbacks are called for this module.
Syntax
HRESULT EnableClassLoadCallbacks(
[in] BOOL bClassLoadCallbacks
);
Parameters
bClassLoadCallbacks
[in] Set this value to true to enable the common language runtime (CLR) to call the ICorDebugManagedCallback::LoadClass and ICorDebugManagedCallback::UnloadClass methods 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 and ICorDebugManagedCallback::UnloadClass callbacks are always enabled for dynamic modules and cannot be disabled.
Requirements
Platforms: See .NET supported operating systems.
Header: CorDebug.idl, CorDebug.h
Library: CorGuids.lib
.NET versions: Available since .NET Framework 2.0