แก้ไข

แชร์ผ่าน


ICorProfilerCallback2::HandleCreated Method

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

Syntax

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 System Requirements.

Header: CorProf.idl, CorProf.h

Library: CorGuids.lib

.NET Framework Versions: Available since 2.0

See also