TaskFactory.StartNew Method (Action<Object>, Object)
Assembly: mscorlib (in mscorlib.dll)
- Type: System.Object
An object containing data to be used by the action delegate.
The exception that is thrown when the action argument is null.
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.