Compartir a través de


DataCollectionContext.HasTestCase (Propiedad)

Obtiene un valor que indica si un caso de prueba en ejecución está asociado a este contexto.

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

Sintaxis

'Declaración
Public ReadOnly Property HasTestCase As Boolean
public bool HasTestCase { get; }
public:
property bool HasTestCase {
    bool get ();
}
member HasTestCase : bool with get
function get HasTestCase () : boolean

Valor de propiedad

Tipo: System.Boolean
true si se está ejecutando un caso de prueba asociado; de lo contrario, false.

Seguridad de .NET Framework

Vea también

Referencia

DataCollectionContext Clase

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

TestExecId