ICorProfilerInfo13::GetObjectIDFromHandle method
Returns the object wrapped by a specified handle.
Syntax
HRESULT GetObjectIDFromHandle(
[in] ObjectHandleID handle,
[out] ObjectID* pObject);
Parameters
handle
[in] The handle wrapping an object.
pObject
[out] A caller-provided pointer that will point to the object wrapped by the specified handle
.
Remarks
If *pObject
is null, the object wrapped by this handle is no longer alive and has been collected.
Requirements
Platforms: See .NET supported operating systems.
Header: CorProf.idl, CorProf.h
.NET Versions: Available since .NET 7.0
See also
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
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