ICorProfilerCallback::AppDomainShutdownStarted Method

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

Syntax

HRESULT AppDomainShutdownStarted(  
    [in] AppDomainID appDomainId);  

Parameters

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

Remarks

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.

Requirements

Platforms: See System Requirements.

Header: CorProf.idl, CorProf.h

Library: CorGuids.lib

.NET Framework Versions: Available since 2.0

See also