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 Class

 

Represents a request to change the state of a test run.

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::RunStateEvent

[SerializableAttribute]
public ref class RunStateEvent : TestMessage, ISerializable

NameDescription
System_CAPS_protmethodRunStateEvent()

Initializes a new instance of the RunStateEvent class.

System_CAPS_pubmethodRunStateEvent(Guid, RunState, String^)

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

System_CAPS_pubmethodRunStateEvent(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.

System_CAPS_protmethodRunStateEvent(SerializationInfo^, StreamingContext)

Initializes a new instance of the RunStateEvent class from XML by using the provided information and context.

NameDescription
System_CAPS_pubpropertyComputer

Gets the name of the computer that requested the change in run state.

System_CAPS_pubpropertyNewState

Gets the new setting for the run state.

System_CAPS_pubpropertyRunId

Gets the ID of the test run.

System_CAPS_pubpropertyTimestamp

Gets the date and time of the request to change the run state.

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)
System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodIsValid()

Returns a value that indicates whether the request to change the run state is valid.(Overrides TestMessage::IsValid().)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodToString()

Returns a string representation of this request to change the run state.(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: