ApartmentAttribute public class ApartmentAttribute : PropertyAttribute Marks a test that must run in a particular threading apartment state, causing it to run in a separate thread if necessary. Documentation Code public ApartmentAttribute(ApartmentState apartmentState) Construct an ApartmentAttribute