This documentation is archived and is not being maintained.

TestExecId Class

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


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

public sealed class TestExecId

The TestExecId type exposes the following members.

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

Public propertyStatic memberEmptyGets a new TestExecId that has an empty Guid.
Public propertyIdGets the Guid for this object.

Public methodEqualsDetermines whether the provided object is equal to the current object. (Overrides Object.Equals(Object).)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeServes as a hash function for a particular type. (Overrides Object.GetHashCode().)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodToStringReturns this object as a string. (Overrides Object.ToString().)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.