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 information about the execution of a test run.
Inheritance Hierarchy
System.Object
Microsoft.VisualStudio.TestTools.Common.RunInfo
Namespace: Microsoft.VisualStudio.TestTools.Common
Assembly: Microsoft.VisualStudio.QualityTools.Common (in Microsoft.VisualStudio.QualityTools.Common.dll)
Syntax
'Declaration
<SerializableAttribute> _
Public NotInheritable Class RunInfo _
Implements IXmlTestStore
[SerializableAttribute]
public sealed class RunInfo : IXmlTestStore
[SerializableAttribute]
public ref class RunInfo sealed : IXmlTestStore
[<Sealed>]
[<SerializableAttribute>]
type RunInfo =
class
interface IXmlTestStore
end
public final class RunInfo implements IXmlTestStore
The RunInfo type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() |
RunInfo | Initializes an instance of the RunInfo class by using the provided information. |
Top
Properties
Name | Description | |
---|---|---|
![]() |
AgentMachine | Gets the name of the computer on which the test was run. |
![]() |
ComputerInfo | Gets the name of the computer on which the test was run. |
![]() |
Exception | Gets the Exception, if any, that resulted from the test run. |
![]() |
IsPass | Gets a value that indicates whether the test run ended with an acceptable outcome. |
![]() |
Outcome | Gets a member of the TestOutcome enumeration, which indicates how the test run ended. |
![]() |
OutcomeText | Gets the text representation of the Outcome property value. |
![]() |
Text | Gets the message text that was provided when the instance was created. |
![]() |
TextHashCode | Gets the hash code for the contents of the Text property. |
![]() |
Timestamp | Gets the date and time when the instance was created. |
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.) |
![]() |
GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() |
Load | Loads the object from the provided XML element by using the provided parameters. |
![]() |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() |
Save | Saves the current object to the specified XML element by using the provided parameters. |
![]() |
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.