Compartir a través de


TaskFactory.StartNew Method

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Include Protected Members
Include Inherited Members

Include Silverlight Members
Include Silverlight for Windows Phone Members
Include XNA Framework Members

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public method StartNew(Action) Creates and starts a Task.
Public method StartNew<TResult>(Func<TResult>) Creates and starts a Task<TResult>.
Public method StartNew(Action, CancellationToken) Creates and starts a Task.
Public method StartNew(Action, TaskCreationOptions) Creates and starts a Task.
Public method StartNew(Action<Object>, Object) Creates and starts a Task.
Public method StartNew<TResult>(Func<TResult>, CancellationToken) Creates and starts a Task<TResult>.
Public method StartNew<TResult>(Func<TResult>, TaskCreationOptions) Creates and starts a Task<TResult>.
Public method StartNew<TResult>(Func<Object, TResult>, Object) Creates and starts a Task<TResult>.
Public method StartNew(Action<Object>, Object, CancellationToken) Creates and starts a Task.
Public method StartNew(Action<Object>, Object, TaskCreationOptions) Creates and starts a Task.
Public method StartNew<TResult>(Func<Object, TResult>, Object, CancellationToken) Creates and starts a Task<TResult>.
Public method StartNew<TResult>(Func<Object, TResult>, Object, TaskCreationOptions) Creates and starts a Task<TResult>.
Public method StartNew(Action, CancellationToken, TaskCreationOptions, TaskScheduler) Creates and starts a Task.
Public method StartNew<TResult>(Func<TResult>, CancellationToken, TaskCreationOptions, TaskScheduler) Creates and starts a Task<TResult>.
Public method StartNew(Action<Object>, Object, CancellationToken, TaskCreationOptions, TaskScheduler) Creates and starts a Task.
Public method StartNew<TResult>(Func<Object, TResult>, Object, CancellationToken, TaskCreationOptions, TaskScheduler) Creates and starts a Task<TResult>.

Top