RunStateEvent Constructor (Guid, RunState, String, DateTime)

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

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, _
    timestamp As DateTime _
)
public RunStateEvent(
    Guid runId,
    RunState newState,
    string computer,
    DateTime timestamp
)
public:
RunStateEvent(
    Guid runId, 
    RunState newState, 
    String^ computer, 
    DateTime timestamp
)
new : 
        runId:Guid * 
        newState:RunState * 
        computer:string * 
        timestamp:DateTime -> RunStateEvent
public function RunStateEvent(
    runId : Guid, 
    newState : RunState, 
    computer : String, 
    timestamp : DateTime
)

Parameters

  • runId
    Type: System.Guid
    The GUID for the associated test run.
  • computer
    Type: System.String
    The name of the computer that requested the state change.
  • timestamp
    Type: System.DateTime
    The date and time of the request for state change.

.NET Framework Security

See Also

Reference

RunStateEvent Class

RunStateEvent Overload

Microsoft.VisualStudio.TestTools.Common Namespace

RunState