Newthreadscheduler

NewThreadScheduler Constructor (Func<ThreadStart, Thread>)

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

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

Syntax

'Declaration
Public Sub New ( _
    threadFactory As Func(Of ThreadStart, Thread) _
)
'Usage
Dim threadFactory As Func(Of ThreadStart, Thread)

Dim instance As New NewThreadScheduler(threadFactory)
public NewThreadScheduler(
    Func<ThreadStart, Thread> threadFactory
)
public:
NewThreadScheduler(
    Func<ThreadStart^, Thread^>^ threadFactory
)
new : 
        threadFactory:Func<ThreadStart, Thread> -> NewThreadScheduler
public function NewThreadScheduler(
    threadFactory : Func<ThreadStart, Thread>
)

Parameters

See Also

Reference

NewThreadScheduler Class

NewThreadScheduler Overload

System.Reactive.Concurrency Namespace

NewThreadScheduler Class

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

Inheritance Hierarchy

System.Object
  System.Reactive.Concurrency.NewThreadScheduler

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

Syntax

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

The NewThreadScheduler type exposes the following members.

Constructors

NameDescriptionPublic methodNewThreadScheduler()Creates an object that schedules each unit of work on a separate thread.Public methodNewThreadScheduler(Func<ThreadStart, Thread>)Creates an object that schedules each unit of work on a separate thread.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.Public methodSchedule(TState, TimeSpan, Func<IScheduler, TState, IDisposable>)Schedules an action to be executed after dueTime.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

NewThreadScheduler Constructor

Include Protected Members
Include Inherited Members

Initializes a new instance of the NewThreadScheduler class.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

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

See Also

Reference

NewThreadScheduler Class

System.Reactive.Concurrency Namespace

NewThreadScheduler Methods

Include Protected Members
Include Inherited Members

The NewThreadScheduler 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.Public methodSchedule(TState, TimeSpan, Func<IScheduler, TState, IDisposable>)Schedules an action to be executed after dueTime.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

NewThreadScheduler Class

System.Reactive.Concurrency Namespace

NewThreadScheduler Constructor

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

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

Syntax

'Declaration
Public Sub New
'Usage

Dim instance As New NewThreadScheduler()
public NewThreadScheduler()
public:
NewThreadScheduler()
new : unit -> NewThreadScheduler
public function NewThreadScheduler()

See Also

Reference

NewThreadScheduler Class

NewThreadScheduler Overload

System.Reactive.Concurrency Namespace

NewThreadScheduler Properties

Include Protected Members
Include Inherited Members

The NewThreadScheduler type exposes the following members.

Properties

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

See Also

Reference

NewThreadScheduler Class

System.Reactive.Concurrency Namespace