Propriedade DataCollectionContext.HasTestCase

Obtém um valor que indica se um caso de teste em execução está associado este contexto.

Namespace:  Microsoft.VisualStudio.TestTools.Execution
Assembly:  Microsoft.VisualStudio.QualityTools.ExecutionCommon (em Microsoft.VisualStudio.QualityTools.ExecutionCommon.dll)

Sintaxe

'Declaração
Public ReadOnly Property HasTestCase As Boolean
    Get
public bool HasTestCase { get; }
public:
property bool HasTestCase {
    bool get ();
}
member HasTestCase : bool
function get HasTestCase () : boolean

Valor de propriedade

Tipo: System.Boolean
true Se um caso de teste associado estiver sendo executado; Caso contrário, false.

Segurança do .NET Framework

Consulte também

Referência

DataCollectionContext Classe

Namespace Microsoft.VisualStudio.TestTools.Execution

TestExecId