Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

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.

Silverlight

Supported in: 5

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

Community Additions

ADD
Show:
© 2015 Microsoft