Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Represents a unique identifier for a test result.
Inheritance Hierarchy
Object
  Microsoft.VisualStudio.TestTools.Common.TestResultId
Namespace:  Microsoft.VisualStudio.TestTools.Common
Assembly:  Microsoft.VisualStudio.QualityTools.Common (in Microsoft.VisualStudio.QualityTools.Common.dll)
Syntax
'Declaration
<SerializableAttribute> _
Public NotInheritable Class TestResultId _
    Implements IVerifiable, IXmlTestStore
[SerializableAttribute]
public sealed class TestResultId : IVerifiable, 
    IXmlTestStore
[SerializableAttribute]
public ref class TestResultId sealed : IVerifiable, 
    IXmlTestStore
[<Sealed>]
[<SerializableAttribute>]
type TestResultId =  
    class 
        interface IVerifiable 
        interface IXmlTestStore 
    end
public final class TestResultId implements IVerifiable, IXmlTestStore
The TestResultId type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| .gif) | TestResultId(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. | 
| .gif) | TestResultId(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
Properties
| Name | Description | |
|---|---|---|
| .gif) | ExecutionId | Gets the text execution ID. | 
| .gif) | ExecutionIdString | Gets a string representation of the test execution ID. | 
| .gif) | IsRootLevel | Gets a value that indicates whether the associated test result is the root test result. | 
| .gif) | IsRunLevel | Gets a value that indicates whether the associated test result is for a test run. | 
| .gif) | ParentExecId | Gets the test execution ID for the parent test result. | 
| .gif) | ParentExecIdString | Gets a string representation of the test execution ID for the parent test result. | 
| .gif) | RunId | Gets the ID for the test run. | 
| .gif) | RunIdString | Gets a string representation of the ID for the test run. | 
| .gif) | TestId | Gets the ID for the test. | 
| .gif) | TestIdString | Gets a string representation of the ID for the test. | 
Top
Methods
| Name | Description | |
|---|---|---|
| .gif) | Equals | Determines whether the provided object is equal to the current object. (Overrides Object.Equals(Object).) | 
| .gif) | GetHashCode | Serves as a hash function for a particular type. (Overrides Object.GetHashCode.) | 
| .gif) | GetType | Gets the Type of the current instance. (Inherited from Object.) | 
| .gif) | IsValid | Returns a value that indicates whether this test result ID is valid. | 
| .gif) | Load | Loads an instance of this class from the provided XML element by using the provided parameters. | 
| .gif) .gif) | RunLevelId | Returns 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. | 
| .gif) | Save | Saves this object in the provided XML element. | 
| .gif) | ToString | Returns a string representation of this test result ID. (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.