[ Team LiB ] Previous Section Next Section

Chapter 43. System.Timers

The System.Timers namespace provides the Timer class, which periodically raises an Elapsed event. It is a server-based component designed to be used in a multithreaded environment and is thus more accurate than many other Windows-based timers. Unlike System.Windows.Forms.Timer, a server-based timer is not dependent on a user interface message pump. Figure 43-1 shows the class diagram for this namespace.

Figure 43-1. The System.Timers namespace
figs/csn2_4301.gif
    [ Team LiB ] Previous Section Next Section