ICorDebugThread2
更新:2007 年 11 月
做為 ICorDebugThread 介面的邏輯擴充部分。
interface ICorDebugThread2 : IUnknown {
HRESULT GetActiveFunctions (
[in] ULONG32 cFunctions,
[out] ULONG32 *pcFunctions,
[in, out, size_is(cFunctions), length_is(*pcFunctions)]
COR_ACTIVE_FUNCTION pFunctions[]
);
HRESULT GetConnectionID (
[out] CONNID *pdwConnectionId
);
HRESULT GetTaskID (
[out] TASKID *pTaskId
);
HRESULT GetVolatileOSThreadID (
[out] DWORD *pdwTid
);
HRESULT InterceptCurrentException (
[in] ICorDebugFrame *pFrame
);
}
方法
方法 |
描述 |
---|---|
取得 COR_ACTIVE_FUNCTION 執行個體的陣列,這些執行個體都包含此執行緒框架中現用函式的相關資料。 |
|
取得此 ICorDebugThread2 的連線識別項。 |
|
取得此 ICorDebugThread2 的工作識別項。 |
|
取得此 ICorDebugThread2 的作業系統執行緒識別項。 |
|
允許偵錯工具攔截目前在執行緒上的例外狀況。 |
需求
**平台:**請參閱 .NET Framework 系統需求。
**標頭:**CorDebug.idl
**程式庫:**CorGuids.lib
**.NET Framework 版本:**3.5 SP1、3.5、3.0 SP1、3.0、2.0 SP1、2.0