Taskpoolscheduler

TaskPoolScheduler Class

Represents an object that schedules units of work using a provided TaskFactory.

Inheritance Hierarchy

System.Object
  System.Reactive.Concurrency.TaskPoolScheduler

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

Syntax

'Declaration
Public NotInheritable Class TaskPoolScheduler _
    Implements IScheduler
'Usage
Dim instance As TaskPoolScheduler
public sealed class TaskPoolScheduler : IScheduler
public ref class TaskPoolScheduler sealed : IScheduler
[<SealedAttribute>]
type TaskPoolScheduler =  
    class
        interface IScheduler
    end
public final class TaskPoolScheduler implements IScheduler

The TaskPoolScheduler type exposes the following members.

Constructors

NameDescriptionPublic methodTaskPoolSchedulerCreates an object that schedules units of work using the provided TaskFactory.Top

Properties

NameDescriptionPublic propertyNowGets the scheduler's notion of current time.Top

Methods

NameDescriptionPublic 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, Func<IScheduler, TState, IDisposable>)Schedules an action to be executed.Public methodSchedule(TState, DateTimeOffset, Func<IScheduler, TState, IDisposable>)Schedules an action to be executed at dueTime, using a System.Threading.Timer object.Public methodSchedule(TState, TimeSpan, Func<IScheduler, TState, IDisposable>)Schedules an action to be executed after dueTime, using a System.Threading.Timer object.Public methodToString(Inherited from Object.)Top

Extension Methods

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

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

TaskPoolScheduler Constructor

Creates an object that schedules units of work using the provided TaskFactory.

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

Syntax

'Declaration
Public Sub New ( _
    taskFactory As TaskFactory _
)
'Usage
Dim taskFactory As TaskFactory

Dim instance As New TaskPoolScheduler(taskFactory)
public TaskPoolScheduler(
    TaskFactory taskFactory
)
public:
TaskPoolScheduler(
    TaskFactory^ taskFactory
)
new : 
        taskFactory:TaskFactory -> TaskPoolScheduler
public function TaskPoolScheduler(
    taskFactory : TaskFactory
)

Parameters

See Also

Reference

TaskPoolScheduler Class

System.Reactive.Concurrency Namespace

TaskPoolScheduler Properties

Include Protected Members
Include Inherited Members

The TaskPoolScheduler type exposes the following members.

Properties

NameDescriptionPublic propertyNowGets the scheduler's notion of current time.Top

See Also

Reference

TaskPoolScheduler Class

System.Reactive.Concurrency Namespace

TaskPoolScheduler Methods

Include Protected Members
Include Inherited Members

The TaskPoolScheduler type exposes the following members.

Methods

NameDescriptionPublic 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, Func<IScheduler, TState, IDisposable>)Schedules an action to be executed.Public methodSchedule(TState, DateTimeOffset, Func<IScheduler, TState, IDisposable>)Schedules an action to be executed at dueTime, using a System.Threading.Timer object.Public methodSchedule(TState, TimeSpan, Func<IScheduler, TState, IDisposable>)Schedules an action to be executed after dueTime, using a System.Threading.Timer object.Public methodToString(Inherited from Object.)Top

Extension Methods

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

See Also

Reference

TaskPoolScheduler Class

System.Reactive.Concurrency Namespace