Udostępnij za pośrednictwem


Metoda RunResultAndStatistics.AddRunInfo —

Dodaje RunInfo obiektu do RunInfoList wartości właściwości.

Przestrzeń nazw:  Microsoft.VisualStudio.TestTools.Common
Zestaw:  Microsoft.VisualStudio.QualityTools.Common (w Microsoft.VisualStudio.QualityTools.Common.dll)

Składnia

'Deklaracja
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
)

Parametry

  • textMessage
    Typ: System.String
    A string zawierający informacje tekstowe na temat wykonywania wykonanie badania.
  • computer
    Typ: System.String
    Nazwa komputera, na którym uruchomiono testu.

Zabezpieczenia programu .NET Framework

Zobacz też

Informacje

RunResultAndStatistics Klasa

Przestrzeń nazw Microsoft.VisualStudio.TestTools.Common

TestOutcome

RunInfo