Share via


TestExecId Class

Represents a unique ID for a test in a test run. This class cannot be inherited.

Inheritance Hierarchy

Object
  Microsoft.VisualStudio.TestTools.Common.TestExecId

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

Syntax

'Declaration
<SerializableAttribute> _
Public NotInheritable Class TestExecId
[SerializableAttribute]
public sealed class TestExecId
[SerializableAttribute]
public ref class TestExecId sealed
[<Sealed>]
[<SerializableAttribute>]
type TestExecId =  class end
public final class TestExecId

The TestExecId type exposes the following members.

Constructors

  Name Description
Public method TestExecId() Initializes a new instance of the TestExecId class.
Public method TestExecId(Guid) Initializes a new instance of the TestExecId class by using the provided Guid.

Top

Properties

  Name Description
Public propertyStatic member Empty Gets a new TestExecId that has an empty Guid.
Public property Id Gets the Guid for this object.

Top

Methods

  Name Description
Public method Equals Determines whether the provided object is equal to the current object. (Overrides Object.Equals(Object).)
Public method GetHashCode Serves as the default hash function. (Overrides Object.GetHashCode.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method ToString Returns this object as a string. (Overrides Object.ToString.)

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

TestRun