Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

BlockingCollection(Of T).IsCompleted Property

.NET Framework 4.6 and 4.5

Gets whether this BlockingCollection(Of T) has been marked as complete for adding and is empty.

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

'Declaration
Public ReadOnly Property IsCompleted As Boolean

Property Value

Type: System.Boolean
Whether this collection has been marked as complete for adding and is empty.

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