MaxAdditionalAllowedThreads

ProcessorSettings.MaxAdditionalAllowedThreads property

Tentukan jumlah maksimal utas tambahan untuk menjalankan kode secara paralel

public int MaxAdditionalAllowedThreads { get; set; }

Contoh

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

Lihat juga