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

TaskFactory.Scheduler Property

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

Gets the TaskScheduler of this TaskFactory.

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

public TaskScheduler Scheduler { get; }

Property Value

Type: System.Threading.Tasks.TaskScheduler
The TaskScheduler of this TaskFactory.

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, Current will be used.

Windows Phone OS

Supported in: 8.1, 8.0

© 2016 Microsoft