ConcurrentHashSetT(Int32, Int32) - конструктор

Initializes a new instance of the ConcurrentHashSetT class that is empty, has the specified concurrency level and capacity, and uses the default comparer for the item type.

Definition

Пространство имён: Tessa.Platform.Collections
Сборка: Tessa (в Tessa.dll) Версия: 4.0.4
C#
public ConcurrentHashSet(
	int concurrencyLevel,
	int capacity
)

Параметры

concurrencyLevel  Int32
The estimated number of threads that will update the ConcurrentHashSetT concurrently.
capacity  Int32
The initial number of elements that the ConcurrentHashSetT can contain.

Исключения

ArgumentOutOfRangeExceptionconcurrencyLevel is less than 1.
ArgumentOutOfRangeExceptioncapacity is less than 0.

См. также