Controlscheduler

ControlScheduler Constructor

Constructs a ControlScheduler that schedules units of work on the message loop associated with the specified Windows Forms control.

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

Syntax

'Declaration
Public Sub New ( _
    control As Control _
)
'Usage
Dim control As Control

Dim instance As New ControlScheduler(control)
public ControlScheduler(
    Control control
)
public:
ControlScheduler(
    Control^ control
)
new : 
        control:Control -> ControlScheduler
public function ControlScheduler(
    control : Control
)

Parameters

See Also

Reference

ControlScheduler Class

System.Reactive.Concurrency Namespace

ControlScheduler Properties

Include Protected Members
Include Inherited Members

The ControlScheduler type exposes the following members.

Properties

NameDescriptionPublic propertyControlGets the control associated with the ControlScheduler.Public propertyNowGets the scheduler's notion of current time.Top

See Also

Reference

ControlScheduler Class

System.Reactive.Concurrency Namespace

ControlScheduler Methods

Include Protected Members
Include Inherited Members

The ControlScheduler 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 on the message loop associated with the control.Public methodSchedule(TState, DateTimeOffset, Func<IScheduler, TState, IDisposable>)Public methodSchedule(TState, TimeSpan, Func<IScheduler, TState, IDisposable>)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

ControlScheduler Class

System.Reactive.Concurrency Namespace

ControlScheduler Class

Represents an object that schedules units of work on the message loop associated with a Windows Forms control.

Inheritance Hierarchy

System.Object
  System.Reactive.Concurrency.ControlScheduler

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

Syntax

'Declaration
Public Class ControlScheduler _
    Implements IScheduler
'Usage
Dim instance As ControlScheduler
public class ControlScheduler : IScheduler
public ref class ControlScheduler : IScheduler
type ControlScheduler =  
    class
        interface IScheduler
    end
public class ControlScheduler implements IScheduler

The ControlScheduler type exposes the following members.

Constructors

NameDescriptionPublic methodControlSchedulerConstructs a ControlScheduler that schedules units of work on the message loop associated with the specified Windows Forms control.Top

Properties

NameDescriptionPublic propertyControlGets the control associated with the ControlScheduler.Public 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 on the message loop associated with the control.Public methodSchedule(TState, DateTimeOffset, Func<IScheduler, TState, IDisposable>)Public methodSchedule(TState, TimeSpan, Func<IScheduler, TState, IDisposable>)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