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

'Declaration
<ObsoleteAttribute("This constructor is obsolete. Use the constructor that takes string instead.")> _
Public Sub New ( _
    computerInfo As ComputerInfo, _
    runId As Guid, _
    test As ITestElement _
)
[ObsoleteAttribute("This constructor is obsolete. Use the constructor that takes string instead.")]
public TestResult(
    ComputerInfo computerInfo,
    Guid runId,
    ITestElement test
)
[ObsoleteAttribute(L"This constructor is obsolete. Use the constructor that takes string instead.")]
public:
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
public function TestResult(
    computerInfo : ComputerInfo, 
    runId : Guid, 
    test : ITestElement
)

Parameters

.NET Framework Security

See Also

Reference

TestResult Class

TestResult Overload

Microsoft.VisualStudio.TestTools.Common Namespace

ComputerInfo

TestRun

ITestElement