Sdílet prostřednictvím


RunResultAndStatistics.AddRunInfo – metoda

Přidá RunInfo k objektu RunInfoList hodnotu vlastnosti.

Obor názvů:  Microsoft.VisualStudio.TestTools.Common
Sestavení:  Microsoft.VisualStudio.QualityTools.Common (v Microsoft.VisualStudio.QualityTools.Common.dll)

Syntaxe

'Deklarace
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: String

    A string , který obsahuje textové informace o provedení zkoušky.

  • computer
    Typ: String

    Název počítače, ve kterém byl spuštěn test.

Zabezpečení rozhraní .NET Framework

Viz také

Referenční dokumentace

RunResultAndStatistics Třída

Microsoft.VisualStudio.TestTools.Common – obor názvů

TestOutcome

RunInfo