Class AsyncTaskFactoryOptions
Configuration options for ParallelFactory.
public class AsyncTaskFactoryOptions : AsyncWorkloadOptions, IAsyncOptions, IParameterObject
- Inheritance
-
AsyncTaskFactoryOptions
- Implements
- Inherited Members
Constructors
AsyncTaskFactoryOptions()
Initializes a new instance of the AsyncTaskFactoryOptions class.
public AsyncTaskFactoryOptions()
Remarks
The following table shows the initial property values for an instance of AsyncTaskFactoryOptions.
| Property | Initial Value |
|---|---|
| PartitionSize | 2 x ProcessorCount |
| Scheduler | Current |
| CreationOptions | LongRunning |
Properties
CreationOptions
Gets or sets the TaskCreationOptions used to create the task.
public TaskCreationOptions CreationOptions { get; set; }
Property Value
- TaskCreationOptions
The TaskCreationOptions used to create the task.
Scheduler
Gets or sets the TaskScheduler that is used to schedule the task.
public TaskScheduler Scheduler { get; set; }
Property Value
- TaskScheduler
The TaskScheduler that is used to schedule the task.