Partager via


TestResultBase Constructor (Guid, Guid)

Initializes a new instance of the TestResultBase class by using the provided test run ID and test execution ID. Called by the testing framework.

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

Syntax

'Declaration
Public Sub New ( _
    runId As Guid, _
    execId As Guid _
)
public TestResultBase(
    Guid runId,
    Guid execId
)
public:
TestResultBase(
    Guid runId, 
    Guid execId
)
new : 
        runId:Guid * 
        execId:Guid -> TestResultBase
public function TestResultBase(
    runId : Guid, 
    execId : Guid
)

Parameters

  • runId
    Type: Guid

    A Guid for a test run.

  • execId
    Type: Guid

    A Guid for the test execution in a test run.

Remarks

In a test run, a test may run more than one time. Each time it is executed, the result receives a new execId value.

.NET Framework Security

See Also

Reference

TestResultBase Class

TestResultBase Overload

Microsoft.VisualStudio.TestTools.Common Namespace