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.
Пространство имён: Tessa.Platform.CollectionsСборка: Tessa (в Tessa.dll) Версия: 4.0.4
public ConcurrentHashSet(
int concurrencyLevel,
int capacity
)
Public Sub New (
concurrencyLevel As Integer,
capacity As Integer
)
public:
ConcurrentHashSet(
int concurrencyLevel,
int capacity
)
new :
concurrencyLevel : int *
capacity : int -> ConcurrentHashSet
Параметры
- 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.
ArgumentOutOfRangeException | concurrencyLevel is
less than 1. |
ArgumentOutOfRangeException | capacity is less than
0. |