MaxAdditionalAllowedThreads

ProcessorSettings.MaxAdditionalAllowedThreads property

指定并行运行代码的最大附加线程数

public int MaxAdditionalAllowedThreads { get; set; }

例子

[C#]
BarCodeReader.ProcessorSettings.MaxAdditionalAllowedThreads = Environment.ProcessorCount * 2;
[VB.NET]
BarCodeReader.ProcessorSettings.MaxAdditionalAllowedThreads = Environment.ProcessorCount * 2

也可以看看