RunInfo(String, Exception, String, TestOutcome) Constructor

Definition

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

public:
 RunInfo(System::String ^ textMessage, Exception ^ ex, System::String ^ computer, Microsoft::VisualStudio::TestTools::Common::TestOutcome outcome);
public RunInfo (string textMessage, Exception ex, string computer, Microsoft.VisualStudio.TestTools.Common.TestOutcome outcome);
new Microsoft.VisualStudio.TestTools.Common.RunInfo : string * Exception * string * Microsoft.VisualStudio.TestTools.Common.TestOutcome -> Microsoft.VisualStudio.TestTools.Common.RunInfo
Public Sub New (textMessage As String, ex As Exception, computer As String, outcome As TestOutcome)

Parameters

textMessage
String

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

ex
Exception

An optional Exception.

computer
String

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

outcome
TestOutcome

A member of the TestOutcome enumeration, which indicates how the test run ended.

Applies to