ICorDebugHandleValue InterfaceICorDebugHandleValue Interface

ICorDebugReferenceValue 的子類別,表示偵錯工具已建立垃圾收集控制碼的參考值。A subclass of ICorDebugReferenceValue that represents a reference value to which the debugger has created a handle for garbage collection.


方法Method 描述Description
Dispose 方法Dispose Method 釋放這個物件所參考的控制碼, ICorDebugHandleValue 而不明確釋放介面指標。Releases the handle referenced by this ICorDebugHandleValue object without explicitly releasing the interface pointer.
GetHandleType 方法GetHandleType Method 取得描述這個所參考之控制碼類型的 CorDebugHandleType 值 ICorDebugHandleValueGets a CorDebugHandleType value that describes the kind of handle referenced by this ICorDebugHandleValue.


ICorDebugReferenceValue物件在執行已偵錯工具代碼時中斷,會失效。An ICorDebugReferenceValue object is invalidated by a break in the execution of debugged code. ICorDebugHandleValue會維護其在中斷和接續的參考,直到明確釋放為止。An ICorDebugHandleValue maintains its reference through breaks and continuations, until it is explicitly released.


這個介面不支援跨電腦或跨處理序的遠端呼叫。This interface does not support being called remotely, either cross-machine or cross-process.


平台: 請參閱 系統需求Platforms: See System Requirements.

標頭: CorDebug.idl、CorDebug.hHeader: CorDebug.idl, CorDebug.h

程式庫: CorGuids.libLibrary: CorGuids.lib

.NET Framework 版本:自 2.0 起可用Available since 2.0.NET Framework Versions: 自 2.0 起可用Available since 2.0

另請參閱See also