Compartir a través de


ITestElement.ExecutionId (Propiedad)

Obtiene o establece el identificador de ejecución actual para este elemento de prueba.

Espacio de nombres:  Microsoft.VisualStudio.TestTools.Common
Ensamblado:  Microsoft.VisualStudio.QualityTools.Common (en Microsoft.VisualStudio.QualityTools.Common.dll)

Sintaxis

'Declaración
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)

Valor de propiedad

Tipo: Microsoft.VisualStudio.TestTools.Common.TestExecId
El id. de ejecución actual para este elemento de prueba.

Comentarios

Varias instancias del mismo elemento de prueba pueden compartir el mismo id. de prueba en una unidad de ejecución.Antes de la ejecución, se asigna a todas las pruebas de la unidad un número único para dicha ejecución.

Seguridad de .NET Framework

Vea también

Referencia

ITestElement Interfaz

Microsoft.VisualStudio.TestTools.Common (Espacio de nombres)

TestExecId