ParallelPipelineStageBuilder<TContext, TBaseNode>.WithMaxDegreeOfParallelism Method
Definition
Sets the maximum degree of parallelism for parallel processing. Defaults to the number of processors in the machine.
public ParallelPipelineStageBuilder<TContext, TBaseNode> WithMaxDegreeOfParallelism(int maxDegreeOfParallelism);
Parameters
Name | Type | Description |
---|---|---|
maxDegreeOfParallelism | The maximum degree of parallelism. |
Returns
ParallelPipelineStageBuilder<TContext, TBaseNode>
The fluent builder.
Last modified: 12 August 2025