DispatcherTimer class

Expand
This topic has not yet been rated Rate this topic

DispatcherTimer class

[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


public class DispatcherTimer : Object,
    IDispatcherTimer

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.

ConstructorDescription
DispatcherTimer Initializes a new instance of the DispatcherTimer class.

 

Events

The DispatcherTimer class has the following events.

EventDescription
Tick Occurs when the timer interval has elapsed.

 

Methods

The DispatcherTimer class has the following methods.

MethodDescription
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.

PropertyAccess typeDescription

Interval

Read/writeGets or sets the amount of time between timer ticks.

IsEnabled

Read-onlyGets 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

Windows.UI.Xaml.dll

See also

CoreDispatcher
Object

 

 

Build date: 9/7/2011

Did you find this helpful?
(1500 characters remaining)
Community Additions ADD