Export (0) Print
Expand All

TestResultBase Class

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

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)

[SerializableAttribute]
public class TestResultBase : TestMessage, 
	ISerializable

The TestResultBase type exposes the following members.

  NameDescription
Protected methodTestResultBase()Initializes a new instance of the TestResultBase class.
Public methodTestResultBase(TestResultBase)Initializes a new instance of the TestResultBase class by making a copy of the provided test result instance.
Public methodTestResultBase(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.
Protected methodTestResultBase(SerializationInfo, StreamingContext)Initializes a new instance of the TestResultBase class from serialized XML data. Called by the test framework.
Top

  NameDescription
Public propertyExecIdGets the execution ID for the associated test.
Public propertyIsRunLevelGets a value that indicates whether the associated test is a test run.
Public propertyRunIdGets the ID for the associated test run.
Top

  NameDescription
Public methodEqualsDetermines whether the specified Object is equal to the current Object. (Inherited from 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. (Inherited from Object.)
Public methodGetObjectDataPopulates a SerializationInfo by using the data that is required to serialize the target object. (Overrides TestMessage.GetObjectData(SerializationInfo, StreamingContext).)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodIsValidDetermines whether this instance is valid. (Overrides TestMessage.IsValid().)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
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:
© 2014 Microsoft