Share via


ICorProfilerCallback::AppDomainShutdownStarted Method

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

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 .NET Framework System Requirements.

Header: CorProf.idl, CorProf.h

Library: CorGuids.lib

.NET Framework Versions: 4, 3.5 SP1, 3.5, 3.0 SP1, 3.0, 2.0 SP1, 2.0

See Also

Reference

ICorProfilerCallback Interface