ICorProfilerCallback::ClassLoadFinished Method
Collapse the table of content
Expand the table of content

ICorProfilerCallback::ClassLoadFinished Method

Notifies the profiler that a class has finished loading.

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


[in] Identifies the class that was loaded.


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

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.

Platforms: See .NET Framework System Requirements.

Header: CorProf.idl

Library: CorGuids.lib

.NET Framework Versions: 3.5 SP1, 3.5, 3.0 SP1, 3.0, 2.0 SP1, 2.0

Community Additions

© 2016 Microsoft