Export (0) Print
Expand All

NewThreadScheduler Class

Represents an object that schedules each unit of work on a separate thread.

System.Object
  System.Reactive.Concurrency.NewThreadScheduler

Namespace:  System.Reactive.Concurrency
Assembly:  System.Reactive (in System.Reactive.dll)

'Declaration
Public NotInheritable Class NewThreadScheduler _
	Implements IScheduler
'Usage
Dim instance As NewThreadScheduler

The NewThreadScheduler type exposes the following members.

  NameDescription
Public methodNewThreadScheduler Creates an object that schedules each unit of work on a separate thread.
Public methodNewThreadScheduler(Func(Of ThreadStart, Thread)) Creates an object that schedules each unit of work on a separate thread.
Top

  NameDescription
Public propertyNow Gets the scheduler's notion of current time.
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(Of TState)(TState, Func(Of IScheduler, TState, IDisposable)) Schedules an action to be executed.
Public methodSchedule(Of TState)(TState, DateTimeOffset, Func(Of IScheduler, TState, IDisposable))Schedules an action to be executed at dueTime.
Public methodSchedule(Of TState)(TState, TimeSpan, Func(Of IScheduler, TState, IDisposable))Schedules an action to be executed after dueTime.
Public methodToString (Inherited from Object.)
Top

  NameDescription
Public Extension MethodSchedule(Action)Overloaded. Schedules an action to be executed. (Defined by Scheduler.)
Public Extension MethodSchedule(Action(Of 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(Of Action(Of TimeSpan)))Overloaded. Schedules an action to be executed recursively after each dueTime. (Defined by Scheduler.)
Public Extension MethodSchedule(DateTimeOffset, Action(Of Action(Of DateTimeOffset)))Overloaded. Schedules an action to be executed after dueTime. (Defined by Scheduler.)
Public Extension MethodSchedule(Of TState)(TState, Action(Of TState, Action(Of TState)))Overloaded. Schedules an action to be executed recursively. (Defined by Scheduler.)
Public Extension MethodSchedule(Of TState)(TState, TimeSpan, Action(Of TState, Action(Of TState, TimeSpan)))Overloaded. Schedules an action to be executed recursively after each dueTime. (Defined by Scheduler.)
Public Extension MethodSchedule(Of TState)(TState, DateTimeOffset, Action(Of TState, Action(Of 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