ICorProfilerCallback::AssemblyUnloadFinished Method

Notifies the profiler that an assembly has been unloaded.

HRESULT AssemblyUnloadFinished(
    [in] AssemblyID assemblyId,
    [in] HRESULT    hrStatus);

Parameters

Parameter Description

assemblyId

[in] Identifies the assembly that is being loaded.

hrStatus

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

Remarks

The value of assemblyId is not valid for an information request after the ICorProfilerCallback::AssemblyUnloadStarted Method method returns.

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

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