Partager via


DataCollectionContext.TestExecId, propriété

Obtient un TestExecId qui identifie l'exécution de test sous laquelle la collecte de données a lieu.

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

Syntaxe

'Déclaration
Public ReadOnly Property TestExecId As TestExecId
    Get
public TestExecId TestExecId { get; }
public:
property TestExecId^ TestExecId {
    TestExecId^ get ();
}
member TestExecId : TestExecId
function get TestExecId () : TestExecId

Valeur de propriété

Type : Microsoft.VisualStudio.TestTools.Common.TestExecId
Objet TestExecId, ou nullune référence null (Nothing en Visual Basic) si aucun test en cours d'exécution n'est associé à ce contexte.

Sécurité .NET Framework

Voir aussi

Référence

DataCollectionContext Classe

Microsoft.VisualStudio.TestTools.Execution, espace de noms

TestExecId

SessionId