Share via


ICorProfilerCallback2::HandleCreated Method

Notifies the code profiler that a garbage collection handle has been created.

HRESULT HandleCreated(
    [in] GCHandleID handleId,
    [in] ObjectID initialObjectId);

Parameters

  • handleId
    [in] The ID of the handle for the garbage collection.

  • initialObjectId
    [in] The ID of the object for which the garbage collection handle was created.

Requirements

Platforms: See .NET Framework System Requirements.

Header: CorProf.idl, CorProf.h

Library: CorGuids.lib

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

See Also

Reference

ICorProfilerCallback Interface

ICorProfilerCallback2 Interface