Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
ICorProfilerCallback::AppDomainShutdownFinished Method
Collapse the table of content
Expand the table of content

ICorProfilerCallback::AppDomainShutdownFinished Method

Notifies the profiler that an application domain has been unloaded from a process.

HRESULT AppDomainShutdownFinished(
    [in] AppDomainID appDomainId,
    [in] HRESULT     hrStatus);


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


[in] An HRESULT that indicates whether the application domain was unloaded successfully.

The value of appDomainId is not valid for an information request after the ICorProfilerCallback::AppDomainShutdownStarted method returns.

Some parts of unloading the application domain might continue after the AppDomainCreationFinished callback. A failure HRESULT in hrStatus indicates a failure. However, a success HRESULT in hrStatus indicates only that the first part of unloading the application domain has succeeded.

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

Community Additions

© 2015 Microsoft