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
)

Parameters

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
Show: