Share via


TestStateEvent Constructor (Guid, Guid, TestState)

Initializes an instance of the TestStateEvent class by using the provided run identifier, execution identifier, and state.

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, _
    newState As TestState _
)
public TestStateEvent(
    Guid runId,
    Guid execId,
    TestState newState
)
public:
TestStateEvent(
    Guid runId, 
    Guid execId, 
    TestState newState
)
new : 
        runId:Guid * 
        execId:Guid * 
        newState:TestState -> TestStateEvent
public function TestStateEvent(
    runId : Guid, 
    execId : Guid, 
    newState : TestState
)

Parameters

  • runId
    Type: Guid

    A Guid that uniquely identifies the test run.

  • execId
    Type: Guid

    A Guid that uniquely identifies the execution.

.NET Framework Security

See Also

Reference

TestStateEvent Class

TestStateEvent Overload

Microsoft.VisualStudio.TestTools.Common Namespace

TestState