更新 : 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 の接続 ID を取得します。 |
|
この ICorDebugThread2 のタスク ID を取得します。 |
|
この ICorDebugThread2 のオペレーティング システムのスレッド識別子を取得します。 |
|
デバッガが、スレッドで現在の例外を受け取ることができます。 |
必要条件
プラットフォーム : 「.NET Framework システム要件」を参照
ヘッダー : CorDebug.idl
ライブラリ : CorGuids.lib
.NET Framework のバージョン : 3.5 SP1、3.5、3.0 SP1、3.0、2.0 SP1、2.0