TestResult Constructor (String, Guid, ITestElement)

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

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

Syntax

'Declaration
Public Sub New ( _
    computerName As String, _
    runId As Guid, _
    test As ITestElement _
)
public TestResult(
    string computerName,
    Guid runId,
    ITestElement test
)
public:
TestResult(
    String^ computerName, 
    Guid runId, 
    ITestElement^ test
)
new : 
        computerName:string * 
        runId:Guid * 
        test:ITestElement -> TestResult
public function TestResult(
    computerName : String, 
    runId : Guid, 
    test : ITestElement
)

Parameters

  • computerName
    Type: System.String
    The name of the computer that is reporting a test result.

.NET Framework Security

See Also

Reference

TestResult Class

TestResult Overload

Microsoft.VisualStudio.TestTools.Common Namespace

ITestElement