ICorProfilerCallback2::HandleCreated Method

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

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

Parameters

Parameter Description

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: Windows 2000, Windows XP, Windows Server 2003 family

Header: CorProf.idl

Library: CorGuids.lib

.NET Framework Version: 2.0

See Also

Reference

ICorProfilerCallback Interface
ICorProfilerCallback2 Interface