[This documentation is preliminary and is subject to change.]
A timer that is integrated into the Dispatcher queue, which is processed at a specified interval of time and at a specified priority.
Inheritance
- Object
- DispatcherTimer
Syntax
Attributes
- ComposableAttribute(Windows.UI.Xaml.IDispatcherTimerFactory, 2, 100794368)
- VersionAttribute(100794368)
- WebHostHiddenAttribute()
Members
The DispatcherTimer class has the following types of members:
Constructors
The DispatcherTimer class has the following constructors.
| Constructor | Description |
|---|---|
| DispatcherTimer | Initializes a new instance of the DispatcherTimer class. |
Events
The DispatcherTimer class has the following events.
| Event | Description |
|---|---|
| Tick | Occurs when the timer interval has elapsed. |
Methods
The DispatcherTimer class has the following methods.
| Method | Description |
|---|---|
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) |
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object) |
| GetType | Gets the type of the current instance. (Inherited from Object) |
| MemberwiseClone | Creates a shallow copy of the current object. (Inherited from Object) |
| Start | Starts the DispatcherTimer. |
| Stop | Stops the DispatcherTimer. |
| ToString | Returns a string that represents the current object. (Inherited from Object) |
Properties
The DispatcherTimer class has the following properties.
| Property | Access type | Description |
|---|---|---|
| Read/write | Gets or sets the amount of time between timer ticks. | |
| Read-only | Gets a value that indicates whether the timer is running. |
Requirements
|
Minimum supported client | Windows Developer Preview |
|---|---|
|
Minimum supported server | Windows Server Developer Preview |
|
Namespace |
Windows.UI.Xaml |
|
Assembly |
|
See also
Build date: 9/7/2011
