ICorProfilerCallback::ClassLoadFinished Method

Notifies the profiler that a class has finished loading.

Syntax

HRESULT ClassLoadFinished(  
    [in] ClassID classId,  
    [in] HRESULT hrStatus);  

Parameters

classId
[in] Identifies the class that was loaded.

hrStatus
[in] An HRESULT that indicates whether the class loaded successfully.

Remarks

The value of classId is not valid for an information request until the ClassLoadFinished method is called.

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

Requirements

Platforms: See System Requirements.

Header: CorProf.idl, CorProf.h

Library: CorGuids.lib

.NET Framework Versions: Available since 2.0

See Also

ICorProfilerCallback Interface
ClassLoadStarted Method