System.Threading.Tasks.TaskScheduler
Represents an abstract scheduler for tasks.
Gets the TaskSchedulerTaskScheduler
associated with the currently executing task.
Gets the default TaskSchedulerTaskScheduler instance.
Gets the unique ID for this TaskScheduler.
Indicates the maximum concurrency level this
TaskScheduler is able to support.
Occurs when a faulted Task's unobserved exception is about to trigger exception escalation
policy, which, by default, would terminate the process.
protected TaskScheduler()
Initializes the TaskScheduler.
Creates a TaskScheduler
associated with the current SynchronizationContext.
Generates an enumerable of TaskTask instances
currently queued to the scheduler waiting to be executed.
Attempts to execute the provided TaskTask
on this scheduler.
Determines whether the provided TaskTask
can be executed synchronously in this call, and if it can, executes it.