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
public TestExecId TestExecId { get; }
public:
property TestExecId^ TestExecId {
TestExecId^ get ();
}
member TestExecId : TestExecId with get
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
- Confiance totale accordée à l'appelant immédiat. Ce membre ne peut pas être utilisé par du code d'un niveau de confiance partiel. Pour plus d'informations, consultez Utilisation de bibliothèques à partir de code d'un niveau de confiance partiel.