Add the STAThreadAttribute attribute on the Main method. This attribute is required if your program access OLE related functions, like Clipboard class does. [STAThread] static void Main(string[] args) { }
使用以下方式 var t = new Thread(MyThreadStartMethod); t.SetApartmentState(ApartmentState.STA); t.Start(); 或者 th = new System.Threading.Thread(new System.Threading.ThreadStart( () => { Start.Run(); })); th.SetApartmentState(ApartmentState.STA); th.Start(); 能解决
参考;http://blog.sina.com.cn/s/blog_891b90e90101c4vq.html