Share via


TestResult Constructor

 

Initializes a new instance of the TestResult class.

Namespace:   Microsoft.VisualStudio.TestTools.Common
Assembly:  Microsoft.VisualStudio.QualityTools.Common (in Microsoft.VisualStudio.QualityTools.Common.dll)

Overload List

Name Description
System_CAPS_protmethod TestResult()

Initializes a new instance of the TestResult class.

System_CAPS_pubmethod TestResult(ComputerInfo, Guid, ITestElement)

Obsolete.Initializes a new instance of the TestResult class by using the provided computer information, test run ID, and test element.

System_CAPS_protmethod TestResult(SerializationInfo, StreamingContext)

Initializes a new instance of the TestResult class from XML serialization.

System_CAPS_pubmethod TestResult(String, Guid, ITestElement)

Initializes a new instance of the TestResult class by using the provided computer name, test run ID, and test element.

System_CAPS_protmethod TestResult(TestResult)

Initializes a new instance of the TestResult class by copying the provided test result.

See Also

TestResult Class
Microsoft.VisualStudio.TestTools.Common Namespace

Return to top