ICorProfilerInfo10::EnumerateObjectReferences method
Given an ObjectID, callback and clientData, enumerates each object reference (if any).
Syntax
HRESULT EnumerateObjectReferences( [in] ObjectID objectId,
[in] ObjectReferenceCallback callback,
[in] void* clientData);
Parameters
objectId
[in] The object to enumerate references on.
callback
[in] The function that will be called with the references for the object.
clientData
[in] Profiler-provided data to pass to the callback
function.
Remarks
The EnumerateObjectReferences
method is similar to ObjectReferences, except that it walks the references on demand for the profiler instead of pre-allocating an array to store the references.
Requirements
Platforms: See .NET supported operating systems.
Header: CorProf.idl, CorProf.h
Library: CorGuids.lib
.NET Versions: Available since .NET Core 3.0
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for