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
- Plena confianza para el llamador inmediato. Un código de confianza parcial no puede utilizar este miembro. Para obtener más información, vea Utilizar bibliotecas de código que no es de plena confianza.
Vea también
Referencia
Microsoft.VisualStudio.TestTools.Execution (Espacio de nombres)