Share via


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

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 Sub New (
    computerName As String,
    runId As Guid,
    test As ITestElement
)

Parameters

  • computerName
    Type: System.String

    The name of the computer that is reporting a test result.

See Also

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

Return to top