This topic has not yet been rated - Rate this topic

TaskScheduler.Current Property

April 12, 2014

Gets the TaskScheduler associated with the currently executing task.

Namespace:  System.Threading.Tasks
Assembly:  mscorlib (in mscorlib.dll)
public static TaskScheduler Current { get; }

Property Value

Type: System.Threading.Tasks.TaskScheduler
Returns 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].

Windows Phone OS

Supported in: 8.1, 8.0

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.