Task.Start Method (TaskScheduler)


Starts the Task, scheduling it for execution to the specified TaskScheduler.

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

public void Start(
	TaskScheduler scheduler


Type: System.Threading.Tasks.TaskScheduler

The TaskScheduler with which to associate and execute this task.

Exception Condition

The Task instance has been disposed.


The scheduler argument is null.


The Task is not in a valid state to be started. It may have already been started, executed, or canceled, or it may have been created in a manner that doesn't support direct scheduling.

A task may only be started and run only once. Any attempts to schedule a task a second time will result in an exception.

For information on handling exceptions thrown by task operations, see Exception Handling (Task Parallel Library).

Universal Windows Platform
Available since 4.5
.NET Framework
Available since 4.0
Portable Class Library
Supported in: portable .NET platforms
Available since 5.0
Windows Phone Silverlight
Available since 8.0
Windows Phone
Available since 8.1
Return to top
© 2015 Microsoft