TestRunConfiguration.ApartmentState (Propiedad)

Obtiene el estado del apartamento establecido para esta configuración de ejecución.

Espacio de nombres:  Microsoft.VisualStudio.TestTools.Common
Ensamblado:  Microsoft.VisualStudio.QualityTools.Common (en Microsoft.VisualStudio.QualityTools.Common.dll)

Sintaxis

'Declaración
Public Property ApartmentState As ApartmentState
public ApartmentState ApartmentState { get; set; }
public:
property ApartmentState ApartmentState {
    ApartmentState get ();
    void set (ApartmentState value);
}
member ApartmentState : ApartmentState with get, set
function get ApartmentState () : ApartmentState
function set ApartmentState (value : ApartmentState)

Valor de propiedad

Tipo: System.Threading.ApartmentState
Estado de apartamento.

Comentarios

El estado predeterminado es el apartamento de un único subproceso (STA).

Seguridad de .NET Framework

Vea también

Referencia

TestRunConfiguration Clase

Microsoft.VisualStudio.TestTools.Common (Espacio de nombres)

ApartmentState