Compartilhar via


ICorDebugManagedCallback::ExitThread Method

Notifies the debugger that a thread that was executing managed code has exited.

HRESULT ExitThread (
    [in] ICorDebugAppDomain *pAppDomain,
    [in] ICorDebugThread    *thread
);

Parameters

  • pAppDomain
    [in] A pointer to an ICorDebugAppDomain object that represents the application domain containing the managed thread.

  • thread
    [in] A pointer to an ICorDebugThread object that represents the managed thread.

Remarks

Once the ExitThread callback is fired, the thread will no longer appear in thread enumerations.

Requirements

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

Header: CorDebug.idl

Library: CorGuids.lib

.NET Framework Version: 2.0, 1.1, 1.0

See Also

Concepts

ICorDebugManagedCallback Interface