Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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)

public RunStateEvent(
	Guid runId,
	RunState newState,
	string computer,
	DateTime timestamp
)

Parameters

runId
Type: System.Guid

The GUID for the associated test run.

newState
Type: Microsoft.VisualStudio.TestTools.Common.RunState

One of the RunState values.

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.

Return to top
Show: