ParallelOptions.TaskScheduler Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the TaskScheduler associated with this ParallelOptions instance. Setting this property to null indicates that the current scheduler should be used.
public:
property System::Threading::Tasks::TaskScheduler ^ TaskScheduler { System::Threading::Tasks::TaskScheduler ^ get(); void set(System::Threading::Tasks::TaskScheduler ^ value); };
public System.Threading.Tasks.TaskScheduler TaskScheduler { get; set; }
public System.Threading.Tasks.TaskScheduler? TaskScheduler { get; set; }
member this.TaskScheduler : System.Threading.Tasks.TaskScheduler with get, set
Public Property TaskScheduler As TaskScheduler
Property Value
The task scheduler that is associated with this instance.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.