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.
Provides an optional base class for a custom test result class.
Inheritance Hierarchy
System.Object
Microsoft.VisualStudio.TestTools.Common.TestMessage
Microsoft.VisualStudio.TestTools.Common.TestResultBase
Namespace: Microsoft.VisualStudio.TestTools.Common
Assembly: Microsoft.VisualStudio.QualityTools.Common (in Microsoft.VisualStudio.QualityTools.Common.dll)
Syntax
'Declaration
<SerializableAttribute> _
Public Class TestResultBase _
Inherits TestMessage _
Implements ISerializable
[SerializableAttribute]
public class TestResultBase : TestMessage,
ISerializable
[SerializableAttribute]
public ref class TestResultBase : public TestMessage,
ISerializable
[<SerializableAttribute>]
type TestResultBase =
class
inherit TestMessage
interface ISerializable
end
public class TestResultBase extends TestMessage implements ISerializable
The TestResultBase type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() |
TestResultBase() | Initializes a new instance of the TestResultBase class. |
![]() |
TestResultBase(TestResultBase) | Initializes a new instance of the TestResultBase class by making a copy of the provided test result instance. |
![]() |
TestResultBase(Guid, Guid) | Initializes a new instance of the TestResultBase class by using the provided test run ID and test execution ID. Called by the testing framework. |
![]() |
TestResultBase(SerializationInfo, StreamingContext) | Initializes a new instance of the TestResultBase class from serialized XML data. Called by the test framework. |
Top
Properties
Name | Description | |
---|---|---|
![]() |
ExecId | Gets the execution ID for the associated test. |
![]() |
IsRunLevel | Gets a value that indicates whether the associated test is a test run. |
![]() |
RunId | Gets the ID for the associated test run. |
Top
Methods
Name | Description | |
---|---|---|
![]() |
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
![]() |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() |
GetObjectData | Populates a SerializationInfo by using the data that is required to serialize the target object. (Overrides TestMessage.GetObjectData(SerializationInfo, StreamingContext).) |
![]() |
GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() |
IsValid | Determines whether this instance is valid. (Overrides TestMessage.IsValid().) |
![]() |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
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.