TaskFactory.StartNew Method (Action, TaskCreationOptions)
July 28, 2014
Creates and starts a Task.
Assembly: mscorlib (in mscorlib.dll)
- Type: System.Action
The action delegate to execute asynchronously.
Calling StartNew is functionally equivalent to creating a Task using one of its constructors and then calling Start to schedule it for execution.
However, unless creation and scheduling must be separated, StartNew is the recommended approach for both simplicity and performance.