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. 
- newState 
 Type: Microsoft.VisualStudio.TestTools.Common.RunState- One of the RunState values. 
- computer 
 Type: String- The name of the computer that requested the state change. 
.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.