ICorProfilerCallback::AppDomainShutdownStarted Method

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

HRESULT AppDomainShutdownStarted(
    [in] AppDomainID appDomainId);

Parameters

Parameter Description

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: Windows 2000, Windows XP, Windows Server 2003 family

Header: CorProf.idl

Library: CorGuids.lib

.NET Framework Version: 2.0

See Also

Reference

ICorProfilerCallback Interface