Attempts to dequeue a System.Threading.Tasks.Task that was previously queued to this scheduler.
- task
- The System.Threading.Tasks.Task to be dequeued.
A Boolean denoting whether the task argument was successfully dequeued.
For more information, see Task Schedulers.
This method may execute in a finally block; therefore it should return as quickly as possible so that any resources such as System.Threading.CancellationTokenRegistration objects can be disposed of in a timely manner.