RunResultAndStatistics.AddRunInfo Method
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.
Adds a RunInfo object to the RunInfoList property value.
public:
void AddRunInfo(System::String ^ textMessage, Exception ^ ex, System::String ^ computer, Microsoft::VisualStudio::TestTools::Common::TestOutcome outcome);
public void AddRunInfo (string textMessage, Exception ex, string computer, Microsoft.VisualStudio.TestTools.Common.TestOutcome outcome);
member this.AddRunInfo : string * Exception * string * Microsoft.VisualStudio.TestTools.Common.TestOutcome -> unit
Public Sub AddRunInfo (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.