Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

TimerResult Class

 

Records the result of a timer that a test writer may use to execute a part of a test.

Namespace:   Microsoft.VisualStudio.TestTools.Common
Assembly:  Microsoft.VisualStudio.QualityTools.Common (in Microsoft.VisualStudio.QualityTools.Common.dll)

System::Object
  Microsoft.VisualStudio.TestTools.Common::TimerResult

[SerializableAttribute]
public ref class TimerResult : ICloneable, IXmlTestStore

NameDescription
System_CAPS_protmethodTimerResult()

Initializes a new instance of the TimerResult class.

System_CAPS_pubmethodTimerResult(String^)

Initializes a new instance of the TimerResult class by using the name of the timer result.

NameDescription
System_CAPS_pubpropertyDuration

Gets or sets the time interval for the timer.

System_CAPS_pubpropertyEndTime

Gets the end time by adding the m_duration to the m_startTime.

System_CAPS_pubpropertyName

Gets the name of the current timer result object.

System_CAPS_pubpropertyStartTime

Gets or sets the start time on the timer.

NameDescription
System_CAPS_pubmethodClone()

Returns a clone of the timer result object.

System_CAPS_pubmethodEquals(Object^)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodLoad(XmlElement^, XmlTestStoreParameters^)

Loads an instance of this class from the provided XML element by using the provided parameters.

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodSave(XmlElement^, XmlTestStoreParameters^)

Saves this object in the provided XML element by using the provided parameters.

System_CAPS_pubmethodToString()

(Inherited from Object.)

NameDescription
System_CAPS_protfieldm_duration

The time interval that is set for this timer result object.

System_CAPS_protfieldm_name

Name for this timer result object.

System_CAPS_protfieldm_startTime

Start time that is set for this timer result object.

System_CAPS_protfieldm_timeZone

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: