Freigeben über


IDkmManagedTaskServices158.GetCorDebugHandleFromAddress Method

Definition

Gets an ICorDebugHandleValue for an address of a managed object on the heap. The API will return E_NOTIMPL if heap inspection APIs are not supported by the CLR version.

public:
 Microsoft::VisualStudio::CorDebugInterop::ICorDebugHandleValue ^ GetCorDebugHandleFromAddress(Microsoft::VisualStudio::Debugger::Clr::DkmClrAppDomain ^ appDomain, System::UInt64 objectAddress);
public Microsoft.VisualStudio.CorDebugInterop.ICorDebugHandleValue GetCorDebugHandleFromAddress (Microsoft.VisualStudio.Debugger.Clr.DkmClrAppDomain appDomain, ulong objectAddress);
abstract member GetCorDebugHandleFromAddress : Microsoft.VisualStudio.Debugger.Clr.DkmClrAppDomain * uint64 -> Microsoft.VisualStudio.CorDebugInterop.ICorDebugHandleValue
Public Function GetCorDebugHandleFromAddress (appDomain As DkmClrAppDomain, objectAddress As ULong) As ICorDebugHandleValue

Parameters

appDomain
DkmClrAppDomain

[In] DkmClrAppDomain represents a CLR app domain inside a process which is being debugged.

objectAddress
UInt64

[In] The address of the object on the heap.

Returns

[Out] The ICorDebugHandleValue for the object.

Applies to