Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

TestRunConfiguration::ApartmentState Property

 

Gets the apartment state that is currently set for this run configuration.

Namespace:   Microsoft.VisualStudio.TestTools.Common
Assembly:  Microsoft.VisualStudio.QualityTools.Common (in Microsoft.VisualStudio.QualityTools.Common.dll)

public:
property ApartmentState ApartmentState {
	ApartmentState get();
	void set(ApartmentState value);
}

Property Value

Type: System.Threading::ApartmentState

The apartment state.

The default state is single-threaded apartment (STA).

Return to top
Show: