ExitThread Method

ICorDebugManagedCallback::ExitThread Method


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

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


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


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

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


Platforms: See .NET Framework System Requirements.

Header: CorDebug.idl, CorDebug.h

Library: CorGuids.lib

.NET Framework Versions: Available since 1.0

© 2015 Microsoft