TaskScheduler.Current Property
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Gets the TaskScheduler associated with the currently executing task.
Assembly: mscorlib (in mscorlib.dll)
Property Value
Type: System.Threading.Tasks.TaskSchedulerReturns the TaskScheduler associated with the currently executing task.
When not called from within a task, Current will return the Default scheduler.
For more information, see [638f8ea5-21db-47a2-a934-86e1e961bf65].
Show: