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 |
---|---|
Gets an array of COR_ACTIVE_FUNCTION instances that contain data about the active functions in a thread's frames. |
|
Gets a connection identifier for this ICorDebugThread2. |
|
Gets a task identifier for this ICorDebugThread2. |
|
Gets the operating system thread identifier for this ICorDebugThread2. |
|
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