Windows apps
Collapse the table of content
Expand the table of content
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

DispatcherTimer Constructor (DispatcherPriority)


Initializes a new instance of the DispatcherTimer class which processes timer events at the specified priority.

Namespace:   System.Windows.Threading
Assembly:  WindowsBase (in WindowsBase.dll)

public DispatcherTimer(
	DispatcherPriority priority


Type: System.Windows.Threading.DispatcherPriority

The priority at which to invoke the timer.

DispatcherTimer runs on the Dispatcher of the current thread. To specify a different Dispatcher, use the following constructor: DispatcherTimer(DispatcherPriority, Dispatcher).

.NET Framework
Available since 3.0
Return to top
© 2016 Microsoft