Impossibile applicare sia 'System.STAThreadAttribute' che 'System.MTAThreadAttribute' allo stesso metodo

Aggiornamento: novembre 2007

'System.STAThreadAttribute' and 'System.MTAThreadAttribute' cannot both be applied to the same method

Gli attributi System.STAThreadAttribute e System.MTAThreadAttribute si escludono reciprocamente.

ID errore: BC31512

Per correggere l'errore

  • Applicare solo System.MTAThreadAttribute o System.STAThreadAttribute.

Vedere anche

Riferimenti

STAThreadAttribute

MTAThreadAttribute

Altre risorse

Attributi in Visual Basic