RunInfo(String, Exception, String, TestOutcome) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
- 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.