RunResultAndStatistics.AddRunInfo Method

Adds a RunInfo object to the RunInfoList property value.

Namespace:  Microsoft.VisualStudio.TestTools.Common
Assembly:  Microsoft.VisualStudio.QualityTools.Common (in Microsoft.VisualStudio.QualityTools.Common.dll)

Syntax

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

Parameters

  • textMessage
    Type: System.String
    A string that contains text information about the test run execution.
  • computer
    Type: System.String
    The name of the computer on which the test was run.

.NET Framework Security

See Also

Reference

RunResultAndStatistics Class

Microsoft.VisualStudio.TestTools.Common Namespace

TestOutcome

RunInfo