var thread = new Thread(ThreadDo);//ThreadDo是调用COM组件的方法 thread.SetApartmentState(ApartmentState.STA); thread.IsBackgound=True; thread.Start();