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

TaskFactory(Of 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)

'Declaration
Public ReadOnly Property Scheduler As TaskScheduler

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

Windows Phone OS

Supported in: 8.1, 8.0

Show:
© 2017 Microsoft