BlockingCollection<'T>.BoundedCapacity Property

.NET Framework (current version)

Gets the bounded capacity of this BlockingCollection<'T> instance.

Namespace:   System.Collections.Concurrent
Assembly:  System (in System.dll)

member BoundedCapacity : int with get

Property Value

Type: System.Int32

The bounded capacity of this collection, or int.MaxValue if no bound was supplied.

Exception Condition

The BlockingCollection<'T> has been disposed.

Universal Windows Platform
Available since 8
.NET Framework
Available since 4.0
Portable Class Library
Supported in: portable .NET platforms
Windows Phone
Available since 8.1
Return to top