Condividi tramite


Proprietà ITestElement.ExecutionId

Ottiene o imposta l'esecuzione corrente ID per questo elemento di test.

Spazio dei nomi:  Microsoft.VisualStudio.TestTools.Common
Assembly:  Microsoft.VisualStudio.QualityTools.Common (in Microsoft.VisualStudio.QualityTools.Common.dll)

Sintassi

'Dichiarazione
Property ExecutionId As TestExecId
TestExecId ExecutionId { get; set; }
property TestExecId^ ExecutionId {
    TestExecId^ get ();
    void set (TestExecId^ value);
}
abstract ExecutionId : TestExecId with get, set
function get ExecutionId () : TestExecId
function set ExecutionId (value : TestExecId)

Valore proprietà

Tipo: Microsoft.VisualStudio.TestTools.Common.TestExecId
l'esecuzione corrente ID per questo elemento di test.

Note

Molte istanze dello stesso elemento di test possono condividere lo stesso ID test in un'unità di esecuzione.Prima dell'esecuzione, tutti i test nell'unità viene assegnato un numero che sono univoci per tale esecuzione.

Sicurezza di .NET Framework

Vedere anche

Riferimenti

ITestElement Interfaccia

Spazio dei nomi Microsoft.VisualStudio.TestTools.Common

TestExecId