System::Threading::ApartmentState enum

ApartmentState enum

Sets apartment state of the thread.

enum class ApartmentState

Values

NameValueDescription
STA0Thread will be created in single-threaded apartment.
MTA1Thread will be created in single-threaded apartment.
Unknown2Thread apartment state is unspecified.

See Also