Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

RunResultAndStatistics::AddRunInfo Method (String^, Exception^, String^, TestOutcome)

 

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)

public:
void AddRunInfo(
	String^ textMessage,
	Exception^ ex,
	String^ computer,
	TestOutcome outcome
)

Parameters

textMessage
Type: System::String^

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

ex
Type: System::Exception^

An optional Exception.

computer
Type: System::String^

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

outcome
Type: Microsoft.VisualStudio.TestTools.Common::TestOutcome

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

Return to top
Show: