vb.net中如何结束一个线程
摘要:一般而言,如果您想终止一个线程,您可以使用System.Threading.Thread类的Abort方法. 例如: Dim worker As ThreadStart = New ThreadStart(AddressOf workerthreadmethod) Dim t As Thread = New Thread(worker) t.Start() MessageBox.Show("Wait for a while for the thread to start.") MessageBox.Show(t.ThreadState.To...
阅读全文
posted @ 2012-04-06 22:35