Scheduler Property

Task Parallel System.Threading

Gets the TaskScheduler of this TaskFactory.

Namespace:  System.Threading.Tasks
Assembly:  System.Threading (in System.Threading.dll)

Syntax

Visual Basic (Declaration)
Public ReadOnly Property Scheduler As TaskScheduler
C#
public TaskScheduler Scheduler { get; }

Remarks

This property returns the default scheduler for this factory. It will be used to schedule all tasks unless another scheduler is explicitly specified during calls to this factory's methods. If null, TaskScheduler.Current will be used.

See Also