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
- taskFactory
Type: System.Threading.Tasks.TaskFactory
The task factory used to create tasks to run units of work.