다음을 통해 공유


ICorDebugThread2 Interface

Serves as a logical extension to the ICorDebugThread interface.

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

Methods

Method

Description

ICorDebugThread2::GetActiveFunctions Method

Gets an array of COR_ACTIVE_FUNCTION instances that contain data about the active functions in a thread's frames.

ICorDebugThread2::GetConnectionID Method

Gets a connection identifier for this ICorDebugThread2.

ICorDebugThread2::GetTaskID Method

Gets a task identifier for this ICorDebugThread2.

ICorDebugThread2::GetVolatileOSThreadID Method

Gets the operating system thread identifier for this ICorDebugThread2.

ICorDebugThread2::InterceptCurrentException Method

Allows a debugger to intercept the current exception on a thread.

Requirements

Platforms: Windows 2000, Windows XP, Windows Server 2003 family

Header: CorDebug.idl

Library: CorGuids.lib

.NET Framework Version: 2.0

See Also

Concepts

Debugging Interfaces

ICorDebugThread Interface