public
ConcurrentDictionary(int concurrencyLevel, int capacity, IEqualityComparer<TKey> comparer);
Initializes a new instance of the System.Collections.Concurrent.ConcurrentDictionary<TKey,TValue> class that is empty, has the specified concurrency level, has the specified initial capacity, and uses the specified System.Collections.Generic.IEqualityComparer<T>.
Полное описание ...
Parameters:
concurrencyLevel:
The estimated number of threads that will update the System.Collections.Concurrent.ConcurrentDictionary<TKey,TValue>
concurrently.
capacity:
The initial number of elements that the System.Collections.Concurrent.ConcurrentDictionary<TKey,TValue>
can contain.
comparer:
The System.Collections.Generic.IEqualityComparer<T> implementation to use
when comparing keys.
Exceptions:
System.ArgumentNullException:
comparer is null.
System.ArgumentOutOfRangeException:
concurrencyLevel or capacity is less than 1.