PexSettingsAttributeBase.ThreadApartmentState Propriedade
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Um parâmetro nomeado que especifica em qual estado de apartamento o thread de teste deve ser.
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(Mono.Cecil.CustomAttributeArgument)]
[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(Mono.Cecil.CustomAttributeArgument)>]
[<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
Valor da propriedade
O estado apartment do thread de teste, STA ou MTA.
- Atributos