<PackageReference Include="NETStandard.Library" Version="2.0.0" />

System.Threading.Tasks.TaskScheduler

public abstract class TaskScheduler
public static TaskScheduler Current { get; }

public static TaskScheduler Default { get; }

public int Id { get; }

public virtual int MaximumConcurrencyLevel { get; }

protected TaskScheduler()

protected abstract IEnumerable<Task> GetScheduledTasks()

protected bool TryExecuteTask(Task task)

protected abstract bool TryExecuteTaskInline(Task task, bool taskWasPreviouslyQueued)