次の方法で共有


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
    );
        
}

メソッド

メソッド

説明

ICorDebugThread2::GetActiveFunctions メソッド

このスレッドのフレームでアクティブな関数についてのデータを含む COR_ACTIVE_FUNCTION インスタンスの配列を取得します。

ICorDebugThread2::GetConnectionID メソッド

この ICorDebugThread2 の接続 ID を取得します。

ICorDebugThread2::GetTaskID メソッド

この ICorDebugThread2 のタスク ID を取得します。

ICorDebugThread2::GetVolatileOSThreadID メソッド

この ICorDebugThread2 のオペレーティング システムのスレッド識別子を取得します。

ICorDebugThread2::InterceptCurrentException メソッド

デバッガが、スレッドで現在の例外を受け取ることができます。

必要条件

プラットフォーム : 「.NET Framework システム要件」を参照

ヘッダー : CorDebug.idl

ライブラリ : CorGuids.lib

.NET Framework のバージョン : 3.5 SP1、3.5、3.0 SP1、3.0、2.0 SP1、2.0

参照

参照

ICorDebugThread

その他の技術情報

デバッグのインターフェイス