Task<TResult>.Factory Property

Provides access to factory methods for creating Task<TResult> instances.

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

public static TaskFactory<TResult> Factory { get; }

Property Value

Type: System.Threading.Tasks.TaskFactory<TResult>
A default instance of TaskFactory<TResult>.

The factory returned from Factory is a default instance of TaskFactory<TResult>, as would result from using the default constructor on the factory type.


Supported in: 5

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.