Skip to content

ParallelPipelineStageBuilder<TBaseNode>.WithMaxDegreeOfParallelism Method

Definition

Sets the maximum degree of parallelism for parallel processing. Defaults to the number of processors in the machine.

public ParallelPipelineStageBuilder<TBaseNode> WithMaxDegreeOfParallelism(int maxDegreeOfParallelism);

View source

Parameters

Name Type Description
maxDegreeOfParallelism Int32 The maximum degree of parallelism.

Returns

ParallelPipelineStageBuilder<TBaseNode>

The fluent builder.