Export (0) Print
Expand All

TaskFactory<TResult> Constructor

Initializes a TaskFactory<TResult> instance.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Public method TaskFactory<TResult>() Initializes a TaskFactory<TResult> instance with the default configuration.
Public method TaskFactory<TResult>(CancellationToken) Initializes a TaskFactory<TResult> instance with the default configuration.
Public method TaskFactory<TResult>(TaskScheduler) Initializes a TaskFactory<TResult> instance with the specified configuration.
Public method TaskFactory<TResult>(TaskCreationOptions, TaskContinuationOptions) Initializes a TaskFactory<TResult> instance with the specified configuration.
Public method TaskFactory<TResult>(CancellationToken, TaskCreationOptions, TaskContinuationOptions, TaskScheduler) Initializes a TaskFactory<TResult> instance with the specified configuration.
Top
Show:
© 2014 Microsoft