RunResultAndStatistics.AddRunInfo (Método)

Agrega el objeto RunInfo al valor de propiedad RunInfoList.

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

Sintaxis

'Declaración
Public Sub AddRunInfo ( _
    textMessage As String, _
    ex As Exception, _
    computer As String, _
    outcome As TestOutcome _
)
public void AddRunInfo(
    string textMessage,
    Exception ex,
    string computer,
    TestOutcome outcome
)
public:
void AddRunInfo(
    String^ textMessage, 
    Exception^ ex, 
    String^ computer, 
    TestOutcome outcome
)
member AddRunInfo : 
        textMessage:string * 
        ex:Exception * 
        computer:string * 
        outcome:TestOutcome -> unit 
public function AddRunInfo(
    textMessage : String, 
    ex : Exception, 
    computer : String, 
    outcome : TestOutcome
)

Parámetros

  • textMessage
    Tipo: System.String
    Un valor de tipo string que contiene información de texto sobre la ejecución de pruebas.
  • computer
    Tipo: System.String
    Nombre del equipo donde se ejecutó la prueba.

Seguridad de .NET Framework

Vea también

Referencia

RunResultAndStatistics Clase

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

TestOutcome

RunInfo