表示在客户端、控制器和代理之间传递的消息的基类。
继承层次结构
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
命名空间:  Microsoft.VisualStudio.TestTools.Common
程序集:  Microsoft.VisualStudio.QualityTools.Common(在 Microsoft.VisualStudio.QualityTools.Common.dll 中)
语法
声明
<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
TestMessage 类型公开以下成员。
构造函数
| 名称 | 说明 | |
|---|---|---|
| .gif) | TestMessage() | 初始化 TestMessage 类的新实例。 | 
| .gif) | TestMessage(SerializationInfo, StreamingContext) | 使用提供的序列化信息和流上下文,从序列化数据初始化 TestMessage 类的新实例。 | 
页首
方法
| 名称 | 说明 | |
|---|---|---|
| .gif) | Equals | 确定指定的 Object 是否等于当前的 Object。 (继承自 Object。) | 
| .gif) | Finalize | 允许对象在“垃圾回收”回收之前尝试释放资源并执行其他清理操作。 (继承自 Object。) | 
| .gif) | GetHashCode | 用作特定类型的哈希函数。 (继承自 Object。) | 
| .gif) | GetObjectData | 使用序列化目标对象所需的数据来填充 SerializationInfo 对象。 | 
| .gif) | GetType | 获取当前实例的 Type。 (继承自 Object。) | 
| .gif) | IsValid | 返回一个值,该值指示此测试消息是否有效。 | 
| .gif) | MemberwiseClone | 创建当前 Object 的浅表副本。 (继承自 Object。) | 
| .gif) | ToString | 返回表示当前对象的字符串。 (继承自 Object。) | 
页首
线程安全
此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。但不保证所有实例成员都是线程安全的。