TestResult Constructor (TestResult)
Initializes a new instance of the TestResult class by copying the provided test result.
Namespace: Microsoft.VisualStudio.TestTools.Common
Assembly: Microsoft.VisualStudio.QualityTools.Common (in Microsoft.VisualStudio.QualityTools.Common.dll)
Syntax
'Declaration
Protected Sub New ( _
copy As TestResult _
)
protected TestResult(
TestResult copy
)
protected:
TestResult(
TestResult^ copy
)
new :
copy:TestResult -> TestResult
protected function TestResult(
copy : TestResult
)
Parameters
copy
Type: Microsoft.VisualStudio.TestTools.Common.TestResultA TestResult to copy.
.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.