Task<TResult>.Factory Property
Microsoft Silverlight will reach end of support after October 2021. Learn more.
Provides access to factory methods for creating Task<TResult> instances.
Namespace: System.Threading.Tasks
Assembly: mscorlib (in mscorlib.dll)
Syntax
'Declaration
Public Shared ReadOnly Property Factory As TaskFactory(Of TResult)
public static TaskFactory<TResult> Factory { get; }
Property Value
Type: System.Threading.Tasks.TaskFactory<TResult>
A default instance of TaskFactory<TResult>.
Remarks
The factory returned from Factory is a default instance of TaskFactory<TResult>, as would result from using the default constructor on the factory type.
Version Information
Silverlight
Supported in: 5
Platforms
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.
See Also