Class AsyncWorkloadOptions
- Namespace
- Cuemon.Threading
- Assembly
- Cuemon.Threading.dll
Configuration options for ParallelFactory.
public class AsyncWorkloadOptions : AsyncOptions, IAsyncOptions, IParameterObject
- Inheritance
-
AsyncWorkloadOptions
- Implements
- Derived
- Inherited Members
Constructors
AsyncWorkloadOptions()
Initializes a new instance of the AsyncWorkloadOptions class.
public AsyncWorkloadOptions()
Remarks
The following table shows the initial property values for an instance of AsyncWorkloadOptions.
Property | Initial Value |
---|---|
PartitionSize | 2 x ProcessorCount |
Properties
PartitionSize
Gets or sets the size of the partition to allocate work to a set of tasks.
public int PartitionSize { get; set; }
Property Value
- Int32
The size of the partition to allocate work to a set of tasks.