Table of Contents

Class AsyncTaskFactoryOptions

Namespace
Cuemon.Threading
Assembly
Cuemon.Threading.dll

Configuration options for ParallelFactory.

public class AsyncTaskFactoryOptions : AsyncWorkloadOptions, IAsyncOptions, IParameterObject
Inheritance
Object
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.

PropertyInitial Value
PartitionSize2 x System.Environment.ProcessorCount
SchedulerSystem.Threading.Tasks.TaskScheduler.Current
CreationOptionsSystem.Threading.Tasks.TaskCreationOptions.LongRunning

Properties

CreationOptions

Gets or sets the System.Threading.Tasks.TaskCreationOptions used to create the task.

public TaskCreationOptions CreationOptions { get; set; }

Property Value

TaskCreationOptions

The System.Threading.Tasks.TaskCreationOptions used to create the task.

Scheduler

Gets or sets the System.Threading.Tasks.TaskScheduler that is used to schedule the task.

public TaskScheduler Scheduler { get; set; }

Property Value

TaskScheduler

The System.Threading.Tasks.TaskScheduler that is used to schedule the task.