Scheduler Class

March 22, 2012

Provides a set of static methods for creating Schedulers.

System.Object
  Microsoft.Phone.Reactive.Scheduler

Namespace:  Microsoft.Phone.Reactive
Assembly:  Microsoft.Phone.Reactive (in Microsoft.Phone.Reactive.dll)

public static class Scheduler

The Scheduler type exposes the following members.

  NameDescription
Public propertyStatic memberCurrentThreadReturns a CurrentThreadScheduler object, which schedules work for processing as soon as possible.
Public propertyStatic memberDispatcherGets the scheduler that schedules work on the current Dispatcher.
Public propertyStatic memberImmediateReturns an ImmediateScheduler object, which schedules work for immediate processing on the current thread.
Public propertyStatic memberNewThreadGets the scheduler that schedules work on a new thread.
Public propertyStatic memberThreadPool Gets the scheduler that schedules work on the ThreadPool.
Top

  NameDescription
Public methodStatic memberSchedule(IScheduler, Action<Action>)Schedules an action to be executed recursively.
Public methodStatic memberSchedule(IScheduler, Action, DateTimeOffset)Schedules an action to be executed recursively at time dueTime.
Public methodStatic memberSchedule(IScheduler, Action<Action<DateTimeOffset>>, DateTimeOffset)Schedules action to be executed recursively at each specified time interval dueTime.
Public methodStatic memberSchedule(IScheduler, Action<Action<TimeSpan>>, TimeSpan)Schedules action to be executed recursively after each specified time interval dueTime.
Top

Windows Phone OS

Supported in: 7.1, 7.0

Windows Phone

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Show: