Partager via


Impossible d'appliquer à la fois 'System.STAThreadAttribute' et 'System.MTAThreadAttribute' à '|1'

Mise à jour : novembre 2007

'System.STAThreadAttribute' and 'System.MTAThreadAttribute' cannot both be applied to '|1'

Les attributs System.STAThreadAttribute et System.MTAThreadAttribute s'excluent mutuellement.

ID d'erreur : BC31513

Pour corriger cette erreur

  • Appliquez System.MTAThreadAttribute ou System.STAThreadAttribute, mais pas les deux.

Voir aussi

Référence

STAThreadAttribute

MTAThreadAttribute

Autres ressources

Attributs en Visual Basic