TestResultId Class

Represents a unique identifier for a test result.

System.Object
  Microsoft.VisualStudio.TestTools.Common.TestResultId

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

[SerializableAttribute]
public sealed class TestResultId : IVerifiable, 
	IXmlTestStore

The TestResultId type exposes the following members.

  NameDescription
Public methodTestResultId(Guid, TestExecId, TestExecId, TestId)Initializes a new instance of the TestResultId class by using the provided test run ID, execution ID, parent execution ID, and test ID.
Public methodTestResultId(String, String, String, String)Initializes a new instance of the TestResultId class by using the provided test run ID, text execution ID, the parent text execution ID, and the test ID.
Top

  NameDescription
Public propertyExecutionIdGets the text execution ID.
Public propertyExecutionIdStringGets a string representation of the test execution ID.
Public propertyIsRootLevelGets a value that indicates whether the associated test result is the root test result.
Public propertyIsRunLevelGets a value that indicates whether the associated test result is for a test run.
Public propertyParentExecIdGets the test execution ID for the parent test result.
Public propertyParentExecIdStringGets a string representation of the test execution ID for the parent test result.
Public propertyRunIdGets the ID for the test run.
Public propertyRunIdStringGets a string representation of the ID for the test run.
Public propertyTestIdGets the ID for the test.
Public propertyTestIdStringGets a string representation of the ID for the test.
Top

  NameDescription
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.)
Public methodIsValidReturns a value that indicates whether this test result ID is valid.
Public methodLoadLoads an instance of this class from the provided XML element by using the provided parameters.
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodStatic memberRunLevelIdReturns the test result ID for the test result from the test run that generated the associated test result by using the provided child test run ID.
Public methodSaveSaves this object in the provided XML element.
Public methodToStringReturns a string representation of this test result ID. (Overrides Object.ToString().)
Top

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

Community Additions

ADD
Show: