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.

TestStateEvent Constructor (Guid, Guid, TestState, DateTime)

 

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

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

public:
TestStateEvent(
	Guid runId,
	Guid execId,
	TestState newState,
	DateTime timestamp
)

Parameters

runId
Type: System::Guid

A Guid that uniquely identifies the test run.

execId
Type: System::Guid

A Guid that uniquely identifies the execution.

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

A member of the TestState enumeration that indicates the state of the test.

timestamp
Type: System::DateTime

The date and time when the state of the test run was changed.

Return to top
Show: