RunStateEvent Constructor (Guid, RunState, String)

Initializes a new instance of the RunStateEvent class by using the provided test run ID, state, and computer name.

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

Syntax

'Declaration
Public Sub New ( _
    runId As Guid, _
    newState As RunState, _
    computer As String _
)
public RunStateEvent(
    Guid runId,
    RunState newState,
    string computer
)
public:
RunStateEvent(
    Guid runId, 
    RunState newState, 
    String^ computer
)
new : 
        runId:Guid * 
        newState:RunState * 
        computer:string -> RunStateEvent
public function RunStateEvent(
    runId : Guid, 
    newState : RunState, 
    computer : String
)

Parameters

  • runId
    Type: Guid

    The GUID for the associated test run.

  • computer
    Type: String

    The name of the computer that requested the state change.

.NET Framework Security

See Also

Reference

RunStateEvent Class

RunStateEvent Overload

Microsoft.VisualStudio.TestTools.Common Namespace

RunState