.NET Framework Class Library |
TaskFactory<(Of <(TResult>)>)..::.Scheduler Property |
TaskFactory<(Of <(TResult>)>) Class See Also Send Feedback |
Gets the TaskScheduler of this
TaskFactory{TResult}.
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.