Share via


TestResultId Constructor (String, String, String, String)

Initializes a new instance of the TestResultId class by using the provided test run ID, text execution ID, the parent text execution ID, and the test ID.

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

Syntax

'Declaration
Public Sub New ( _
    runId As String, _
    executionId As String, _
    parentExecutionId As String, _
    testId As String _
)
public TestResultId(
    string runId,
    string executionId,
    string parentExecutionId,
    string testId
)
public:
TestResultId(
    String^ runId, 
    String^ executionId, 
    String^ parentExecutionId, 
    String^ testId
)
new : 
        runId:string * 
        executionId:string * 
        parentExecutionId:string * 
        testId:string -> TestResultId
public function TestResultId(
    runId : String, 
    executionId : String, 
    parentExecutionId : String, 
    testId : String
)

Parameters

  • runId
    Type: String

    A string representation of a Guid for the test run.

  • executionId
    Type: String

    A string representation of a TestExecId object.

  • parentExecutionId
    Type: String

    A string representation of a TestExecId object for the parent test.

  • testId
    Type: String

    A string representation of a TestId object.

.NET Framework Security

See Also

Reference

TestResultId Class

TestResultId Overload

Microsoft.VisualStudio.TestTools.Common Namespace

TestExecId

TestId