PexSettingsAttributeBase.ThreadApartmentState Property

Definition

A named parameter that specifies in which apartment state the test thread should be.

C++
public:
 property Microsoft::Pex::Framework::Settings::PexApartmentState ThreadApartmentState { Microsoft::Pex::Framework::Settings::PexApartmentState get(); void set(Microsoft::Pex::Framework::Settings::PexApartmentState value); };

Property Value

The test thread's apartment state, STA or MTA.

Attributes

Applies to

Produit Versions
Visual Studio SDK 2017, 2019