System.Collections.Concurrent.BlockingCollection<T>.CompleteAdding Method

Marks the System.Collections.Concurrent.BlockingCollection`1 instances as not accepting any more additions.

Syntax

public void CompleteAdding ()

Remarks

After a collection has been marked as complete for adding, adding to the collection is not permitted and attempts to remove from the collection will not wait when the collection is empty.

Requirements

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