ICorDebugHandleValue

更新:2007 年 11 月

ICorDebugReferenceValue 的一个子类,前者表示调试器已为其创建了垃圾回收句柄的引用值。

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

方法

方法

说明

ICorDebugHandleValue::Dispose 方法

释放由此 ICorDebugHandleValue 对象引用的句柄而不显式释放接口指针。

ICorDebugHandleValue::GetHandleType 方法

获取一个 CorDebugHandleType 值,该值描述此 ICorDebugHandleValue 引用的句柄的类型。

备注

如果已调试的代码在执行时发生中断,则会使 ICorDebugReferenceValue 对象失效。ICorDebugHandleValue 在中断和继续的整个过程中保持其引用,直到它被显式地释放为止。

要求

**平台:**请参见 .NET Framework 系统要求

**头文件:**CorDebug.idl

**库:**CorGuids.lib

**.NET Framework 版本:**3.5 SP1、3.5、3.0 SP1、3.0、2.0 SP1、2.0

请参见

参考

ICorDebugReferenceValue

其他资源

调试接口