Records the result of a timer that a test writer may use to execute a part of a test.
Inheritance Hierarchy
Object
  Microsoft.VisualStudio.TestTools.Common.TimerResult
Namespace:  Microsoft.VisualStudio.TestTools.Common
Assembly:  Microsoft.VisualStudio.QualityTools.Common (in Microsoft.VisualStudio.QualityTools.Common.dll)
Syntax
'Declaration
<SerializableAttribute> _
Public Class TimerResult _
    Implements ICloneable, IXmlTestStore
[SerializableAttribute]
public class TimerResult : ICloneable, 
    IXmlTestStore
[SerializableAttribute]
public ref class TimerResult : ICloneable, 
    IXmlTestStore
[<SerializableAttribute>]
type TimerResult =  
    class 
        interface ICloneable 
        interface IXmlTestStore 
    end
public class TimerResult implements ICloneable, IXmlTestStore
The TimerResult type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| .gif) | TimerResult() | Initializes a new instance of the TimerResult class. | 
| .gif) | TimerResult(String) | Initializes a new instance of the TimerResult class by using the name of the timer result. | 
Top
Properties
| Name | Description | |
|---|---|---|
| .gif) | Duration | Gets or sets the time interval for the timer. | 
| .gif) | EndTime | Gets the end time by adding the m_duration to the m_startTime. | 
| .gif) | Name | Gets the name of the current timer result object. | 
| .gif) | StartTime | Gets or sets the start time on the timer. | 
Top
Methods
| Name | Description | |
|---|---|---|
| .gif) | Clone | Returns a clone of the timer result object. | 
| .gif) | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | 
| .gif) | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | 
| .gif) | GetHashCode | Serves as the default hash function. (Inherited from Object.) | 
| .gif) | GetType | Gets the Type of the current instance. (Inherited from Object.) | 
| .gif) | Load | Loads an instance of this class from the provided XML element by using the provided parameters. | 
| .gif) | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | 
| .gif) | Save | Saves this object in the provided XML element by using the provided parameters. | 
| .gif) | ToString | Returns a string that represents the current object. (Inherited from Object.) | 
Top
Fields
| Name | Description | |
|---|---|---|
| .gif) | m_duration | The time interval that is set for this timer result object. | 
| .gif) | m_name | Name for this timer result object. | 
| .gif) | m_startTime | Start time that is set for this timer result object. | 
| .gif) | m_timeZone | 
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.