Partager via


DataCollectionContext.HasTestCase, propriété

Obtient une valeur qui indique si un cas de test en cours d'exécution est associé à ce contexte.

Espace de noms :  Microsoft.VisualStudio.TestTools.Execution
Assembly :  Microsoft.VisualStudio.QualityTools.ExecutionCommon (dans Microsoft.VisualStudio.QualityTools.ExecutionCommon.dll)

Syntaxe

'Déclaration
Public ReadOnly Property HasTestCase As Boolean
    Get
public bool HasTestCase { get; }
public:
property bool HasTestCase {
    bool get ();
}
member HasTestCase : bool
function get HasTestCase () : boolean

Valeur de propriété

Type : System.Boolean
true si un cas de test associé est en cours d'exécution ; sinon false.

Sécurité .NET Framework

Voir aussi

Référence

DataCollectionContext Classe

Microsoft.VisualStudio.TestTools.Execution, espace de noms

TestExecId