STAThreadAttribute Class

Indicates that the COM threading model for an application is single-threaded apartment (STA).