Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

RunInfo Class

Represents information about the execution of a test run.

System.Object
  Microsoft.VisualStudio.TestTools.Common.RunInfo

Namespace:  Microsoft.VisualStudio.TestTools.Common
Assembly:  Microsoft.VisualStudio.QualityTools.Common (in Microsoft.VisualStudio.QualityTools.Common.dll)
[SerializableAttribute]
public sealed class RunInfo : IXmlTestStore

The RunInfo type exposes the following members.

  NameDescription
Public methodRunInfoInitializes an instance of the RunInfo class by using the provided information.
Top
  NameDescription
Public propertyAgentMachineGets the name of the computer on which the test was run.
Public propertyComputerInfoGets the name of the computer on which the test was run.
Public propertyExceptionGets the Exception, if any, that resulted from the test run.
Public propertyIsPassGets a value that indicates whether the test run ended with an acceptable outcome.
Public propertyOutcomeGets a member of the TestOutcome enumeration, which indicates how the test run ended.
Public propertyOutcomeTextGets the text representation of the Outcome property value.
Public propertyTextGets the message text that was provided when the instance was created.
Public propertyTextHashCodeGets the hash code for the contents of the Text property.
Public propertyTimestampGets the date and time when the instance was created.
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 methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodLoadLoads the object from the provided XML element by using the provided parameters.
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodSaveSaves the current object to the specified XML element by using the provided parameters.
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.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.