Scheduler Methods
Include Protected Members
Include Inherited Members
The Scheduler type exposes the following members.
Methods
NameDescriptionNormalizeEnsures that no time spans are negative.
Schedule(IScheduler, Action)Schedules an action to be executed.
Schedule(IScheduler, Action
Schedule(IScheduler, DateTimeOffset, Action)Schedules an action to be executed at dueTime.
Schedule(IScheduler, DateTimeOffset, Action<Action
Schedule(IScheduler, TimeSpan, Action)Schedules an action to be executed after dueTime.
Schedule(IScheduler, TimeSpan, Action<Action
Schedule
Schedule
Schedule
See Also
Reference
System.Reactive.Concurrency Namespace
Scheduler Class
Provides a set of static methods for creating Schedulers.
Inheritance Hierarchy
System.Object
System.Reactive.Concurrency.Scheduler
Namespace: System.Reactive.Concurrency
Assembly: System.Reactive (in System.Reactive.dll)
Syntax
'Declaration
<ExtensionAttribute> _
Public NotInheritable Class Scheduler
'Usage
public static class Scheduler
[ExtensionAttribute]
public ref class Scheduler abstract sealed
[<AbstractClassAttribute>]
[<SealedAttribute>]
type Scheduler = class end
public final class Scheduler
The Scheduler type exposes the following members.
Properties
NameDescriptionCurrentThreadGets the scheduler that schedules work as soon as possible on the current thread.
ImmediateGets the scheduler that schedules work immediately on the current thread.
NewThreadGets the scheduler that schedules work on a new thread.
NowRepresents a notion of time for this scheduler. Tasks being scheduled on a scheduler will adhere to the time denoted by this property.
TaskPoolGets the scheduler that schedules work on the default Task Factory.
ThreadPoolGets the scheduler that schedules work on the ThreadPool.Top
Methods
NameDescriptionNormalizeEnsures that no time spans are negative.
Schedule(IScheduler, Action)Schedules an action to be executed.
Schedule(IScheduler, Action
Schedule(IScheduler, DateTimeOffset, Action)Schedules an action to be executed at dueTime.
Schedule(IScheduler, DateTimeOffset, Action<Action
Schedule(IScheduler, TimeSpan, Action)Schedules an action to be executed after dueTime.
Schedule(IScheduler, TimeSpan, Action<Action
Schedule
Schedule
Schedule
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Reference
System.Reactive.Concurrency Namespace
Scheduler Properties
Include Protected Members
Include Inherited Members
The Scheduler type exposes the following members.
Properties
NameDescriptionCurrentThreadGets the scheduler that schedules work as soon as possible on the current thread.
ImmediateGets the scheduler that schedules work immediately on the current thread.
NewThreadGets the scheduler that schedules work on a new thread.
NowRepresents a notion of time for this scheduler. Tasks being scheduled on a scheduler will adhere to the time denoted by this property.
TaskPoolGets the scheduler that schedules work on the default Task Factory.
ThreadPoolGets the scheduler that schedules work on the ThreadPool.Top