TestResultDetail Constructor
Initializes a new instance of the TestResultDetail class by using the provided test result and test run.
Namespace: Microsoft.VisualStudio.TestTools.Common
Assembly: Microsoft.VisualStudio.QualityTools.Common (in Microsoft.VisualStudio.QualityTools.Common.dll)
Syntax
'Declaration
Public Sub New ( _
result As TestResult, _
run As TestRun _
)
public TestResultDetail(
TestResult result,
TestRun run
)
public:
TestResultDetail(
TestResult^ result,
TestRun^ run
)
new :
result:TestResult *
run:TestRun -> TestResultDetail
public function TestResultDetail(
result : TestResult,
run : TestRun
)
Parameters
result
Type: Microsoft.VisualStudio.TestTools.Common.TestResultA TestResult object.
run
Type: Microsoft.VisualStudio.TestTools.Common.TestRunA TestRun 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.