Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Update xml/System.Threading/Timer.xml
Co-authored-by: Genevieve Warren <[email protected]>
  • Loading branch information
softworkz and gewarren authored Jun 22, 2020
commit 34a3fdec52928590350b2d3afafb1de17a10bb2d
2 changes: 1 addition & 1 deletion xml/System.Threading/Timer.xml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ Sub TimerCallback(state As Object)
The timer delegate is specified when the timer is constructed, and cannot be changed. The method does not execute on the thread that created the timer; it executes on a <xref:System.Threading.ThreadPool> thread supplied by the system.

> [!TIP]
> .NET includes five classes named `Timer`, each of which offers different functionality:
> .NET includes several timer classes, each of which offers different functionality:
>
> - <xref:System.Timers.Timer?displayProperty=nameWithType>, which fires an event and executes the code in one or more event sinks at regular intervals. The class is intended for use as a server-based or service component in a multithreaded environment; it has no user interface and is not visible at runtime.
> - <xref:System.Threading.Timer?displayProperty=nameWithType>, which executes a single callback method on a thread pool thread at regular intervals. The callback method is defined when the timer is instantiated and cannot be changed. Like the <xref:System.Timers.Timer?displayProperty=nameWithType> class, this class is intended for use as a server-based or service component in a multithreaded environment; it has no user interface and is not visible at runtime.
Expand Down