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


TcmInformation Class

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Encapsulates the information about a test that is stored in the test case management server.

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.TestTools.Common.TcmInformation

Namespace:  Microsoft.VisualStudio.TestTools.Common
Assembly:  Microsoft.VisualStudio.QualityTools.Common (in Microsoft.VisualStudio.QualityTools.Common.dll)

Syntax

'Declaration
<SerializableAttribute> _
Public NotInheritable Class TcmInformation _
    Implements IXmlTestStore, IEquatable(Of TcmInformation)
[SerializableAttribute]
public sealed class TcmInformation : IXmlTestStore, 
    IEquatable<TcmInformation>
[SerializableAttribute]
public ref class TcmInformation sealed : IXmlTestStore, 
    IEquatable<TcmInformation^>
[<Sealed>]
[<SerializableAttribute>]
type TcmInformation =  
    class
        interface IXmlTestStore
        interface IEquatable<TcmInformation>
    end
public final class TcmInformation implements IXmlTestStore, IEquatable<TcmInformation>

The TcmInformation type exposes the following members.

Constructors

  Name Description
Public method TcmInformation Initializes a new instance of the TcmInformation class by using the provided test case ID, test run ID, and test result ID.

Top

Properties

  Name Description
Public property TestCaseId Gets the test case ID.
Public property TestResultId Gets the test result ID.
Public property TestRunId Gets the test run ID.

Top

Methods

  Name Description
Public method Equals(Object) Returns a value that indicates whether the provided object is equal to the current object. (Overrides Object.Equals(Object).)
Public method Equals(TcmInformation) Returns a value that indicates whether the provided TCM information object is equal to the current 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. (Overrides Object.GetHashCode().)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
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

Operators

  Name Description
Public operatorStatic member Equality Represents the equality operator (==) to compare two TCM information objects.
Public operatorStatic member Inequality Represents the inequality operator (!=) to compare two TCM information objects.

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method IXmlTestStore.Load Loads the current object from the provided XML element by using the provided parameters.
Explicit interface implemetationPrivate method IXmlTestStore.Save Saves the current object to the provided XML element by using the provided parameters.

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

IXmlTestStore