Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

TestResultBase Class

 

Provides an optional base class for a custom test result class.

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

System::Object
  Microsoft.VisualStudio.TestTools.Common::TestMessage
    Microsoft.VisualStudio.TestTools.Common::TestResultBase

[SerializableAttribute]
public ref class TestResultBase : TestMessage, ISerializable

NameDescription
System_CAPS_protmethodTestResultBase()

Initializes a new instance of the TestResultBase class.

System_CAPS_pubmethodTestResultBase(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.

System_CAPS_protmethodTestResultBase(SerializationInfo^, StreamingContext)

Initializes a new instance of the TestResultBase class from serialized XML data. Called by the test framework.

System_CAPS_pubmethodTestResultBase(TestResultBase^)

Initializes a new instance of the TestResultBase class by making a copy of the provided test result instance.

NameDescription
System_CAPS_pubpropertyExecId

Gets the execution ID for the associated test.

System_CAPS_pubpropertyIsRunLevel

Gets a value that indicates whether the associated test is a test run.

System_CAPS_pubpropertyRunId

Gets the ID for the associated test run.

NameDescription
System_CAPS_pubmethodEquals(Object^)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetObjectData(SerializationInfo^, StreamingContext)
System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodIsValid()

Determines whether this instance is valid.(Overrides TestMessage::IsValid().)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

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

Return to top
Show: