Creates a System.Threading.Tasks.TaskScheduler associated with the current System.Threading.SynchronizationContext.
A System.Threading.Tasks.TaskScheduler associated with the current System.Threading.SynchronizationContext, as determined by System.Threading.SynchronizationContext.Current.
All System.Threading.Tasks.Task instances queued to the returned scheduler will be executed through a call to the System.Threading.SynchronizationContext.Post(System.Threading.SendOrPostCallback, object) method on that context.
For more information, see Task Schedulers.