ICorProfilerCallback::AssemblyLoadFinished Method

Notifies the profiler that an assembly has finished loading.

Syntax

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

Parameters

assemblyId
[in] Identifies the assembly that was loaded.

hrStatus
[in] An HRESULT that indicates whether the assembly finished loading successfully.

Remarks

The value of assemblyId is not valid for an information request until the AssemblyLoadFinished method is called.

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

Requirements

Platforms: See System Requirements.

Header: CorProf.idl, CorProf.h

Library: CorGuids.lib

.NET Framework Versions: Available since 2.0

See also