“System.STAThreadAttribute”和“System.MTAThreadAttribute”不能同时应用于“|1”

System.STAThreadAttributeSystem.MTAThreadAttribute 特性互相排斥。

错误 ID: BC31513

更正此错误

  1. 应用 System.MTAThreadAttributeSystem.STAThreadAttribute两者之一,而非同时应用。

另请参阅