|
| .NET Framework Class Library |
| Task<(Of <(TResult>)>)..::.Factory Property |
| Task<(Of <(TResult>)>) Class See Also Send Feedback |
Provides access to factory methods for creating 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(Of TResult) |
| C# |
|---|
public static TaskFactory<TResult> Factory { get; } |
Remarks
The factory returned from Factory is a default instance
of TaskFactory<(Of <(TResult>)>), as would result from using
the default constructor on the factory type.