Share via


TestResult Constructor (ComputerInfo, Guid, ITestElement)

 

Note: This API is now obsolete.

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

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

Syntax

[ObsoleteAttribute("This constructor is obsolete. Use the constructor that takes string instead.")]
public TestResult(
    ComputerInfo computerInfo,
    Guid runId,
    ITestElement test
)
public:
[ObsoleteAttribute("This constructor is obsolete. Use the constructor that takes string instead.")]
TestResult(
    ComputerInfo^ computerInfo,
    Guid runId,
    ITestElement^ test
)
[<ObsoleteAttribute("This constructor is obsolete. Use the constructor that takes string instead.")>]
new : 
        computerInfo:ComputerInfo *
        runId:Guid *
        test:ITestElement -> TestResult
<ObsoleteAttribute("This constructor is obsolete. Use the constructor that takes string instead.")>
Public Sub New (
    computerInfo As ComputerInfo,
    runId As Guid,
    test As ITestElement
)

Parameters

See Also

ComputerInfo
TestRun
ITestElement
TestResult Overload
TestResult Class
Microsoft.VisualStudio.TestTools.Common Namespace

Return to top