ICorProfilerCallback::AppDomainShutdownFinished Method
Notifies the profiler that an application domain has been unloaded from a process.
HRESULT AppDomainShutdownFinished(
[in] AppDomainID appDomainId,
[in] HRESULT hrStatus);
Parameters
Parameter | Description |
---|---|
appDomainId |
[in] Identifies the domain in which the application's assemblies are stored. |
hrStatus |
[in] An HRESULT that indicates whether the application domain was unloaded successfully. |
Remarks
The value of appDomainId is not valid for an information request after the ICorProfilerCallback::AppDomainShutdownStarted Method 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.
Requirements
Platforms: Windows 2000, Windows XP, Windows Server 2003 family
Header: CorProf.idl
Library: CorGuids.lib
.NET Framework Version: 2.0