Share via


RunInfo Constructor

Initializes an instance of the RunInfo class by using the provided information.

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

Syntax

'Declaration
Public Sub New ( _
    textMessage As String, _
    ex As Exception, _
    computer As String, _
    outcome As TestOutcome _
)
public RunInfo(
    string textMessage,
    Exception ex,
    string computer,
    TestOutcome outcome
)
public:
RunInfo(
    String^ textMessage, 
    Exception^ ex, 
    String^ computer, 
    TestOutcome outcome
)
new : 
        textMessage:string * 
        ex:Exception * 
        computer:string * 
        outcome:TestOutcome -> RunInfo
public function RunInfo(
    textMessage : String, 
    ex : Exception, 
    computer : String, 
    outcome : TestOutcome
)

Parameters

  • textMessage
    Type: String

    A string that contains text information about the test run execution.

  • computer
    Type: String

    The name of the computer on which the test was run.

.NET Framework Security

See Also

Reference

RunInfo Class

Microsoft.VisualStudio.TestTools.Common Namespace

TestOutcome