0
可能重複:
What are alternative ways to suspend and resume a thread?Thread.Suspend()和Thread.Resume()的替代方式;
在我的工作,我以前用過Thread.Suspend();
而Thread.Resume();
掛起和恢復由線程所做的工作。但現在編譯時說Thread.Suspend();
和Thread.Resume();
已過時並已棄用。
有什麼辦法暫停和恢復工作.. ??
最好的解決辦法樣的取決於你的線程實際上做 – 2012-03-22 10:26:03
我只是把這個答案,因爲我不能添加評論。 http://stackoverflow.com/questions/382173/what-are-alternative-ways-to-suspend-and-resume-a-thread – 2012-03-22 10:26:36