Represents a base class for messages that are passed between client, controller, and agents.
Inheritance Hierarchy
Object
  Microsoft.VisualStudio.TestTools.Common.TestMessage
    Microsoft.VisualStudio.TestTools.Common.RunStateEvent
    Microsoft.VisualStudio.TestTools.Common.TestResultBase
    Microsoft.VisualStudio.TestTools.Common.TestResultMessage
    Microsoft.VisualStudio.TestTools.Common.TestStateEvent
Namespace:  Microsoft.VisualStudio.TestTools.Common
Assembly:  Microsoft.VisualStudio.QualityTools.Common (in Microsoft.VisualStudio.QualityTools.Common.dll)
Syntax
'Declaration
<SerializableAttribute> _
Public Class TestMessage _
    Implements IVerifiable
[SerializableAttribute]
public class TestMessage : IVerifiable
[SerializableAttribute]
public ref class TestMessage : IVerifiable
[<SerializableAttribute>]
type TestMessage =  
    class 
        interface IVerifiable 
    end
public class TestMessage implements IVerifiable
The TestMessage type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| .gif) | TestMessage() | Initializes a new instance of the TestMessage class. | 
| .gif) | TestMessage(SerializationInfo, StreamingContext) | Initializes a new instance of the TestMessage class from serialized data by using the provided serialization information and streaming context. | 
Top
Methods
| Name | Description | |
|---|---|---|
| .gif) | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | 
| .gif) | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | 
| .gif) | GetHashCode | Serves as the default hash function. (Inherited from Object.) | 
| .gif) | GetObjectData | Populates a SerializationInfo by using the data that is required to serialize the target object. | 
| .gif) | GetType | Gets the Type of the current instance. (Inherited from Object.) | 
| .gif) | IsValid | Returns a value that indicates whether this test message is valid. | 
| .gif) | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | 
| .gif) | ToString | Returns a string that represents the current object. (Inherited from Object.) | 
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.