TestMessage Class
Represents a base class for messages that are passed between client, controller, and agents.
Inheritance Hierarchy
System.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 | |
---|---|---|
TestMessage() | Initializes a new instance of the TestMessage class. | |
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 | |
---|---|---|
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetObjectData | Populates a SerializationInfo by using the data that is required to serialize the target object. | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
IsValid | Returns a value that indicates whether this test message is valid. | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
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.