Partager via


ICorDebugHandleValue Interface

A subclass of ICorDebugReferenceValue Interface that represents a reference value to which the debugger has created a handle for garbage collection.

interface ICorDebugHandleValue : ICorDebugReferenceValue {
        
    HRESULT Dispose ();
        
    HRESULT GetHandleType (
        [out] CorDebugHandleType  *pType
    );
        
};

Methods

Method Description

ICorDebugHandleValue::Dispose Method

Releases the handle referenced by this ICorDebugHandleValue object without explicitly releasing the interface pointer.

ICorDebugHandleValue::GetHandleType Method

Gets a CorDebugHandleType Enumeration value that describes the kind of handle referenced by this ICorDebugHandleValue.

Remarks

A ICorDebugReferenceValue Interface object is invalidated by a break in the execution of debugged code. An ICorDebugHandleValue maintains its reference through breaks and continuations, until it is explicitly released.

Requirements

Platforms: Windows 2000, Windows XP, Windows Server 2003 family

Header: CorDebug.idl

Library: CorGuids.lib

.NET Framework Version: 2.0

See Also

Reference

ICorDebugReferenceValue Interface

Other Resources

Debugging Interfaces