Factory Property

Task Parallel System.Threading

Provides access to factory methods for creating Task and Task<(Of <(TResult>)>) instances.

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

Syntax

Visual Basic (Declaration)
Public Shared ReadOnly Property Factory As TaskFactory
C#
public static TaskFactory Factory { get; }

Remarks

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

See Also