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.
Provides an abstraction for time.
public ref class TimeProvider abstract
public abstract class TimeProvider
type TimeProvider = class
Public MustInherit Class TimeProvider
Initializes a new instance of TimeProvider.
Gets the local time zone according to this TimeProvider's notion of time.
Gets the frequency of GetTimestamp() as the number of ticks per second.
|CreateTimer(TimerCallback, Object, TimeSpan, TimeSpan)|
Determines whether the specified object is equal to the current object.(Inherited from Object)
Gets the elapsed time since the
Gets the elapsed time between two timestamps retrieved using GetTimestamp().
Serves as the default hash function.(Inherited from Object)
Gets the current high-frequency value designed to measure small time intervals with high accuracy in the timer mechanism.
Gets the Type of the current instance.(Inherited from Object)
Gets the current Coordinated Universal Time (UTC) date and time with an offset of zero, according to this TimeProvider's notion of time.
Creates a shallow copy of the current Object.(Inherited from Object)
Returns a string that represents the current object.(Inherited from Object)