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

更新:2007 年 11 月

System.STAThreadAttribute 和 System.MTAThreadAttribute 属性是互相排斥的。

**错误 ID:**BC31513

更正此错误

  • 应用 System.MTAThreadAttribute 或 System.STAThreadAttribute,但不要同时应用二者。

请参见

参考

STAThreadAttribute

MTAThreadAttribute

其他资源

Visual Basic 中的属性 (Attribute)