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.
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 | |
|---|---|---|
![]() |
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. |
Top
Properties
| Name | Description | |
|---|---|---|
![]() |
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. |
Top
Methods
| Name | Description | |
|---|---|---|
![]() |
Clone | Returns a clone of the timer result object. |
![]() |
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 the default hash function. (Inherited from Object.) |
![]() |
GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() |
Load | Loads an instance of this class from the provided XML element by using the provided parameters. |
![]() |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() |
Save | Saves this object in the provided XML element by using the provided parameters. |
![]() |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Top
Fields
| Name | Description | |
|---|---|---|
![]() |
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 |
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.
.gif)
.gif)
.gif)
.gif)