다음을 통해 공유


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의 연결 식별자를 가져옵니다.

ICorDebugThread2::GetTaskID 메서드

ICorDebugThread2의 작업 식별자를 가져옵니다.

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

기타 리소스

디버깅 인터페이스