TimerResult Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Records the result of a timer that a test writer may use to execute a part of a test.
public ref class TimerResult : ICloneable, Microsoft::VisualStudio::TestTools::Common::Xml::IXmlTestStore
[System.Serializable]
public class TimerResult : ICloneable, Microsoft.VisualStudio.TestTools.Common.Xml.IXmlTestStore
[<System.Serializable>]
type TimerResult = class
interface ICloneable
interface IXmlTestStore
Public Class TimerResult
Implements ICloneable, IXmlTestStore
- Inheritance
-
TimerResult
- Attributes
- Implements
Constructors
TimerResult() |
Initializes a new instance of the TimerResult class. |
TimerResult(String) |
Initializes a new instance of the TimerResult class by using the name of the timer result. |
Fields
m_duration |
The time interval that is set for this timer result object. |
m_name |
Name for this timer result object. |
m_startTime |
Start time that is set for this timer result object. |
m_timeZone |
Properties
Duration |
Gets or sets the time interval for the timer. |
EndTime |
Gets the end time by adding the m_duration to the m_startTime. |
Name |
Gets the name of the current timer result object. |
StartTime |
Gets or sets the start time on the timer. |
Methods
Clone() |
Returns a clone of the timer result object. |
Load(XmlElement, XmlTestStoreParameters) |
Loads an instance of this class from the provided XML element by using the provided parameters. |
Save(XmlElement, XmlTestStoreParameters) |
Saves this object in the provided XML element by using the provided parameters. |