Partager via


TestResult Constructor

Include Protected Members
Include Inherited Members

Initializes a new instance of the TestResult class.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Protected method TestResult() Initializes a new instance of the TestResult class.
Protected method TestResult(TestResult) Initializes a new instance of the TestResult class by copying the provided test result.
Protected method TestResult(SerializationInfo, StreamingContext) Initializes a new instance of the TestResult class from XML serialization.
Public method TestResult(String, Guid, ITestElement) Initializes a new instance of the TestResult class by using the provided computer name, test run ID, and test element.
Public method 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.

Top

See Also

Reference

TestResult Class

Microsoft.VisualStudio.TestTools.Common Namespace