Scheduler Property
Collapse the table of content
Expand the table of content

TaskFactory<TResult>.Scheduler Property

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Gets the task scheduler for this task factory.

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

public TaskScheduler Scheduler { get; }

Property Value

Type: System.Threading.Tasks.TaskScheduler
The task scheduler for this task factory.

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 this property returns null, Current will be used.

Windows Phone OS

Supported in: 8.1, 8.0

Show:
© 2016 Microsoft