XmlTestReader.ReadTestRunSummary Method
Reads the summary section of the test run in the specified XML file and returns a TestRun object.
Namespace: Microsoft.VisualStudio.TestTools.Common
Assembly: Microsoft.VisualStudio.QualityTools.Common (in Microsoft.VisualStudio.QualityTools.Common.dll)
Syntax
'Declaration
Public Function ReadTestRunSummary ( _
location As String _
) As TestRun
public TestRun ReadTestRunSummary(
string location
)
public:
TestRun^ ReadTestRunSummary(
String^ location
)
member ReadTestRunSummary :
location:string -> TestRun
public function ReadTestRunSummary(
location : String
) : TestRun
Parameters
location
Type: StringThe name of the file to read.
Return Value
Type: Microsoft.VisualStudio.TestTools.Common.TestRun
A test run object.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.