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.