Export (0) Print
Expand All
0 out of 1 rated this helpful - Rate this topic

CurrentThreadScheduler Class

Represents an object that schedules units of work on the current thread.

System.Object
  System.Reactive.Concurrency.CurrentThreadScheduler

Namespace:  System.Reactive.Concurrency
Assembly:  System.Reactive (in System.Reactive.dll)
public sealed class CurrentThreadScheduler : IScheduler

The CurrentThreadScheduler type exposes the following members.

  NameDescription
Public propertyNow Gets the scheduler's notion of current time.
Public propertyScheduleRequiredGets a value indicating whether the caller must call a schedule method.
Top
  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodSchedule<TState>(TState, Func<IScheduler, TState, IDisposable>) Schedules an action to be executed.
Public methodSchedule<TState>(TState, DateTimeOffset, Func<IScheduler, TState, IDisposable>)Schedules an action to be executed at dueTime.
Public methodSchedule<TState>(TState, TimeSpan, Func<IScheduler, TState, IDisposable>)Schedules an action to be executed after dueTime.
Public methodToString (Inherited from Object.)
Top
  NameDescription
Public Extension MethodEnsureTrampoline (Defined by Extensions.)
Public Extension MethodSchedule(Action)Overloaded. Schedules an action to be executed. (Defined by Scheduler.)
Public Extension MethodSchedule(Action<Action>)Overloaded. Schedules an action to be executed recursively. (Defined by Scheduler.)
Public Extension MethodSchedule(TimeSpan, Action)Overloaded. Schedules an action to be executed after dueTime. (Defined by Scheduler.)
Public Extension MethodSchedule(DateTimeOffset, Action)Overloaded. Schedules an action to be executed at dueTime. (Defined by Scheduler.)
Public Extension MethodSchedule(TimeSpan, Action<Action<TimeSpan>>)Overloaded. Schedules an action to be executed recursively after each dueTime. (Defined by Scheduler.)
Public Extension MethodSchedule(DateTimeOffset, Action<Action<DateTimeOffset>>)Overloaded. Schedules an action to be executed after dueTime. (Defined by Scheduler.)
Public Extension MethodSchedule<TState>(TState, Action<TState, Action<TState>>)Overloaded. Schedules an action to be executed recursively. (Defined by Scheduler.)
Public Extension MethodSchedule<TState>(TState, TimeSpan, Action<TState, Action<TState, TimeSpan>>)Overloaded. Schedules an action to be executed recursively after each dueTime. (Defined by Scheduler.)
Public Extension MethodSchedule<TState>(TState, DateTimeOffset, Action<TState, Action<TState, DateTimeOffset>>)Overloaded. Schedules an action to be executed recursively at each dueTime. (Defined by Scheduler.)
Top
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:
© 2014 Microsoft. All rights reserved.