通知调试器正在执行托管代码的线程已退出。
语法
HRESULT ExitThread (
[in] ICorDebugAppDomain *pAppDomain,
[in] ICorDebugThread *thread
);
参数
pAppDomain
[in]指向 ICorDebugAppDomain 对象的指针,该对象表示包含托管线程的应用程序域。
thread
[in]指向表示托管线程的 ICorDebugThread 对象的指针。
注解
触发 ExitThread
回调后,线程将不再出现在线程枚举中。
要求
平台:请参阅系统要求。
标头:CorDebug.idl、CorDebug.h
库:CorGuids.lib
.NET Framework 版本:自 1.0 起可用