Поделиться через


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

See Also

Reference

Microsoft.VisualStudio.TestTools.Common Namespace

IVerifiable