次の方法で共有


PexSettingsAttributeBase.ThreadApartmentState Property

Definition

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

Applies to