ICorProfilerCallback::AppDomainShutdownStarted Method

Notifies the profiler that an application domain is being unloaded from a process.

HRESULT AppDomainShutdownStarted(
    [in] AppDomainID appDomainId);


Parameter Description


[in] Identifies the domain in which the application's assemblies are stored.

The value of appDomainId is not valid for any information request after the AppDomainShutdownStarted method returns — this is the profiler's last chance to get information about this application domain.

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

Header: CorProf.idl

Library: CorGuids.lib

.NET Framework Version: 2.0