ICorDebugManagedCallback::ExitThread 方法
更新:2007 年 11 月
告知偵錯工具,執行 Managed 程式碼的執行緒已結束。
HRESULT ExitThread (
[in] ICorDebugAppDomain *pAppDomain,
[in] ICorDebugThread *thread
);
參數
pAppDomain
[in] ICorDebugAppDomain 物件的指標,這個物件代表包含 Managed 執行緒的應用程式定義域。thread
[in] 代表 Managed 執行緒之 ICorDebugThread 物件的指標。
備註
一旦引發 ExitThread 回呼,執行緒就不會再出現在執行緒列舉型別中。
需求
**平台:**請參閱 .NET Framework 系統需求。
**標頭:**CorDebug.idl
**程式庫:**CorGuids.lib
**.NET Framework 版本:**3.5 SP1、3.5、3.0 SP1、3.0、2.0 SP1、2.0、1.1、1.0