线程

 

判断线程是否是主线程

System.Threading.Thread.CurrentThread.ApartmentState 

STA 为主线程

MTA 

posted @ 2019-01-22 18:45  JeffreyGoogle  阅读(114)  评论(0编辑  收藏  举报