ParallelOptions.TaskScheduler Property

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets or sets the TaskScheduler associated with this ParallelOptions instance. Setting this property to null indicates that the current scheduler should be used.

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

public TaskScheduler TaskScheduler { get; set; }

Property Value

Type: System.Threading.Tasks.TaskScheduler

The task scheduler that is associated with this instance.

Universal Windows Platform
Available since 8
.NET Framework
Available since 4.0
Portable Class Library
Supported in: portable .NET platforms
Windows Phone
Available since 8.1
Return to top
Show: