Export (0) Print
Expand All

BlockingCollection(Of T).BoundedCapacity Property

.NET Framework 4.6 and 4.5

Gets the bounded capacity of this BlockingCollection(Of T) instance.

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

'Declaration
Public ReadOnly Property BoundedCapacity As Integer

Property Value

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

ExceptionCondition
ObjectDisposedException

The BlockingCollection(Of T) has been disposed.

.NET Framework

Supported in: 4.6, 4.5, 4

.NET Framework Client Profile

Supported in: 4

Portable Class Library

Supported in: Portable Class Library

Supported in: Windows Phone 8.1
Show:
© 2015 Microsoft