PexSettingsAttributeBase.ThreadApartmentState Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A named parameter that specifies in which apartment state the test thread should be.
public:
property Microsoft::Pex::Framework::Settings::PexApartmentState ThreadApartmentState { Microsoft::Pex::Framework::Settings::PexApartmentState get(); void set(Microsoft::Pex::Framework::Settings::PexApartmentState value); };
[System.ComponentModel.Category("Main")]
[System.ComponentModel.DefaultValue(Microsoft.Pex.Framework.Settings.PexApartmentState.Unknown)]
[System.ComponentModel.Description("in which apartment state the test thread should be")]
public Microsoft.Pex.Framework.Settings.PexApartmentState ThreadApartmentState { get; set; }
[<System.ComponentModel.Category("Main")>]
[<System.ComponentModel.DefaultValue(Microsoft.Pex.Framework.Settings.PexApartmentState.Unknown)>]
[<System.ComponentModel.Description("in which apartment state the test thread should be")>]
member this.ThreadApartmentState : Microsoft.Pex.Framework.Settings.PexApartmentState with get, set
Public Property ThreadApartmentState As PexApartmentState
Property Value
The test thread's apartment state, STA or MTA.
- Attributes