TimeoutTimer class

Tracks the time left for a timeout.

public sealed class TimeoutTimer

Public Members

name description
TimeoutTimer() Initializes a new instance of the TimeoutTimer class.
TimeoutTimer(…) Initializes a new instance of the TimeoutTimer class. (2 constructors)
ElapsedMilliseconds { get; } Gets the time elapsed, in milliseconds.
ElapsedTimeSpan { get; } Gets the time elapsed, in milliseconds.
IsInfinite { get; } Returns true for a timer that never times out.
RemainingMilliseconds { get; } Gets the time left, in milliseconds.
RemainingTimeSpan { get; } Gets the time left.
TimedOut { get; } True if there is no time left.
Reset(…) Resets the timer. (2 methods)

See Also