System::Threading::Tasks::TaskScheduler class

TaskScheduler class

Represents an object that handles the low-level work of queuing tasks onto threads.

class TaskScheduler : public System::Object

Methods

MethodDescription
static FromCurrentSynchronizationContext()Creates a TaskScheduler associated with the current thread.
static get_Current()Gets the TaskScheduler associated with the currently executing task.
static get_Default()Gets the default TaskScheduler instance that is provided by the framework.
get_Id() constGets the unique ID for this TaskScheduler.
virtual get_MaximumConcurrencyLevel() constIndicates the maximum concurrency level this TaskScheduler is able to support.

See Also