ICorDebugHandleValue Interface

A subclass of ICorDebugReferenceValue 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 value that describes the kind of handle referenced by this ICorDebugHandleValue.

Remarks

An ICorDebugReferenceValue 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

Concepts

ICorDebugReferenceValue Interface

Debugging Interfaces