System.Threading.Tasks.TaskCreationOptions
Specifies flags that control optional behavior for the creation and execution of tasks.
AttachedToParent = 4
Specifies that a task is attached to a parent in the task hierarchy.
LongRunning = 2
Specifies that a task will be a long-running, course-grained operation. It provides a hint to the
TaskSchedulerTaskScheduler that oversubscription may be
warranted.
None = 0
Specifies that the default behavior should be used.
PreferFairness = 1
A hint to a TaskSchedulerTaskScheduler to schedule a
task in as fair a manner as possible, meaning that tasks scheduled sooner will be more likely to
be run sooner, and tasks scheduled later will be more likely to be run later.