ICorDebugHeapValue3 介面ICorDebugHeapValue3 Interface

公開物件的監視器鎖定屬性。Exposes the monitor lock properties of objects. 這個介面會擴充 ICorDebugHeapValue 和 ICorDebugHeapValue2 介面。This interface extends the ICorDebugHeapValue and ICorDebugHeapValue2 interfaces.

方法Methods

方法Method 描述Description
GetThreadOwningMonitorLock 方法GetThreadOwningMonitorLock Method 傳回在這個物件上擁有監視器鎖定的 managed 執行緒。Returns the managed thread that owns the monitor lock on this object.
GetMonitorEventWaitList 方法GetMonitorEventWaitList Method 提供已排序的執行緒清單,這些執行緒會排入與監視器鎖定相關聯的事件上。Provides an ordered list of threads that are queued on the event that is associated with a monitor lock.

備註Remarks

注意

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

規格需求Requirements

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

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

程式庫: CorGuids.libLibrary: CorGuids.lib

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

另請參閱See also