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: String- The name of the computer that is reporting a test result. 
- runId 
 Type: Guid- The Guid for the test run. 
- test 
 Type: Microsoft.VisualStudio.TestTools.Common.ITestElement- An ITestElement object. 
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.