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 Class

 

Represents a notification record for a change in test state.

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

System::Object
  Microsoft.VisualStudio.TestTools.Common::TestMessage
    Microsoft.VisualStudio.TestTools.Common::TestStateEvent

[SerializableAttribute]
public ref class TestStateEvent : TestMessage, ISerializable

NameDescription
System_CAPS_protmethodTestStateEvent()

Initializes an instance of the TestStateEvent class.

System_CAPS_pubmethodTestStateEvent(Guid, Guid, TestState)

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

System_CAPS_pubmethodTestStateEvent(Guid, Guid, TestState, DateTime)

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

System_CAPS_protmethodTestStateEvent(SerializationInfo^, StreamingContext)

Initializes an instance of the TestStateEvent class by using the serialization information and context.

NameDescription
System_CAPS_pubpropertyExecId

Gets a Guid that uniquely identifies the execution process.

System_CAPS_pubpropertyNewState

Gets the new setting for the test state.

System_CAPS_pubpropertyRunId

Gets a Guid that uniquely identifies the test run.

System_CAPS_pubpropertyTimestamp

Gets the date and time when the test state was changed.

NameDescription
System_CAPS_pubmethodEquals(Object^)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetObjectData(SerializationInfo^, StreamingContext)

Populates a SerializationInfo object with the data that is required to serialize the target object.(Overrides TestMessage::GetObjectData(SerializationInfo^, StreamingContext).)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodIsValid()

Returns a value that indicates whether the event has a valid RunId and a valid setting for NewState setting.(Overrides TestMessage::IsValid().)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodToString()

Returns a string that contains the computer name, the RunId, and the NewState.(Overrides Object::ToString().)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: