Share via


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: See .NET Framework System Requirements.

Header: CorDebug.idl

Library: CorGuids.lib

.NET Framework Versions: 3.5 SP1, 3.5, 3.0 SP1, 3.0, 2.0 SP1, 2.0

See Also

Reference

ICorDebugReferenceValue Interface

Other Resources

Debugging Interfaces