RequiresSTAAttribute public class RequiresSTAAttribute : PropertyAttribute Marks a test that must run in the STA, causing it to run in a separate thread if necessary. Documentation Code public RequiresSTAAttribute() Construct a RequiresSTAAttribute