System.Threading.Tasks.TaskScheduler.Current Property

Gets the System.Threading.Tasks.TaskScheduler associated with the currently executing task.

Syntax

public static TaskScheduler Current { get; }

Value

Documentation for this section has not yet been entered.

Remarks

When not called from within a task, TaskScheduler.Current will return the TaskScheduler.Default scheduler.

For more information, see Task Schedulers.

Requirements

Namespace: System.Threading.Tasks
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 4.0.0.0