LimitedConcurrencyLevelTaskScheduler.GetScheduledTasks Method

For debugger support only, generates an enumerable of Task instances currently queued to the scheduler waiting to be executed.
Protected NotOverridable Overrides Function GetScheduledTasks() As IEnumerable(Of Task)
This language is not supported or no code example is available.
protected sealed override IEnumerable<Task> GetScheduledTasks()
This language is not supported or no code example is available.
protected:  
IEnumerable<Task^>^ GetScheduledTasks() sealed
This language is not supported or no code example is available.
JScript does not support generic types and methods.
This language is not supported or no code example is available.

Return Value

IEnumerable<Task>

An enumerable that allows a debugger to traverse the tasks currently queued to this scheduler.

Exception type Condition

NotSupportedException

This scheduler is unable to generate a list of queued tasks at this time.

.NET Framework

Supported in: 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1

In this article

Definition