Gets the bounded capacity of this BlockingCollection<(Of <(T>)>) instance.
Namespace:
System.Collections.Concurrent
Assembly:
System.Threading (in System.Threading.dll)
Syntax
| Visual Basic (Declaration) |
|---|
Public ReadOnly Property BoundedCapacity As Integer |
| C# |
|---|
public int BoundedCapacity { get; } |
Field Value
The bounded capacity of this collection, or int.MaxValue if no bound was supplied.
Exceptions
| Exception | Condition |
|---|
| System..::.ObjectDisposedException | The BlockingCollection<(Of <(T>)>) has been disposed. |
See Also