'System.STAThreadAttribute' e 'System.MTAThreadAttribute' não podem ser aplicados a '|1'

Os System.STAThreadAttribute e System.MTAThreadAttribute atributos são mutuamente exclusivos.

ID de erro: BC31513

Para corrigir este erro

  1. Aplique uma ou System.MTAThreadAttribute System.STAThreadAttribute, mas não ambas.

Consulte também