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.3+7e2b1422f9b8c7c41fbbc4b151a843bed05319ab
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. |