Notifies the profiler that an application domain is being unloaded from a process.
HRESULT AppDomainShutdownStarted( [in] AppDomainID appDomainId);
[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: See System Requirements.
Header: CorProf.idl, CorProf.h
.NET Framework Versions: Available since 2.0