ProducerConsumerQueueT(Int32) - конструктор
Initializes a new instance of the QueueT class that is empty and has the specified initial capacity.
Пространство имён: Tessa.Platform.CollectionsСборка: Tessa (в Tessa.dll) Версия: 4.1.4+115fce864fec7bf37ea70396e6660596be991d3b
public ProducerConsumerQueue(
int capacity
)
Public Sub New (
capacity As Integer
)
public:
ProducerConsumerQueue(
int capacity
)
new :
capacity : int -> ProducerConsumerQueue
Параметры
- capacity Int32
- The initial number of elements that the QueueT can contain.
| ArgumentOutOfRangeException | capacity is less than zero. |