System.Collections.Concurrent.BlockingCollection<T>: Method Members

The methods of System.Collections.Concurrent.BlockingCollection<T> are listed below. For a list of all members, see the BlockingCollection<T> Members list.

See Also: Inherited members from System.Object

Public Methods

Add(T)
Documentation for this section has not yet been entered.
Add(T, System.Threading.CancellationToken)
Documentation for this section has not yet been entered.
static
AddToAny(BlockingCollection<T>[], T) : int
Documentation for this section has not yet been entered.
static
AddToAny(BlockingCollection<T>[], T, System.Threading.CancellationToken) : int
Documentation for this section has not yet been entered.
CompleteAdding()

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

CopyTo(T[], int)
Documentation for this section has not yet been entered.
Dispose()

Releases all resources used by the current instance of the System.Collections.Concurrent.BlockingCollection`1 class.

GetConsumingEnumerable() : IEnumerable<T>

Provides a consuming IEnumerator`1 for items in the collection.

GetConsumingEnumerable(System.Threading.CancellationToken) : IEnumerable<T>

Provides a consuming IEnumerable`1 for items in the collection.

Take() : T

Removes an item from the System.Collections.Concurrent.BlockingCollection`1.

Take(System.Threading.CancellationToken) : T

Removes an item from the System.Collections.Concurrent.BlockingCollection`1.

static
TakeFromAny(BlockingCollection<T>[], out T) : int
Documentation for this section has not yet been entered.
static
TakeFromAny(BlockingCollection<T>[], out T, System.Threading.CancellationToken) : int
Documentation for this section has not yet been entered.
ToArray() : T[]

Copies the items from the System.Collections.Concurrent.BlockingCollection`1 instance into a new array.

TryAdd(T) : bool
Documentation for this section has not yet been entered.
TryAdd(T, int) : bool
Documentation for this section has not yet been entered.
TryAdd(T, TimeSpan) : bool
Documentation for this section has not yet been entered.
TryAdd(T, int, System.Threading.CancellationToken) : bool
Documentation for this section has not yet been entered.
static
TryAddToAny(BlockingCollection<T>[], T) : int
Documentation for this section has not yet been entered.
static
TryAddToAny(BlockingCollection<T>[], T, int) : int
Documentation for this section has not yet been entered.
static
TryAddToAny(BlockingCollection<T>[], T, TimeSpan) : int
Documentation for this section has not yet been entered.
static
TryAddToAny(BlockingCollection<T>[], T, int, System.Threading.CancellationToken) : int
Documentation for this section has not yet been entered.
TryTake(out T) : bool
Documentation for this section has not yet been entered.
TryTake(out T, int) : bool
Documentation for this section has not yet been entered.
TryTake(out T, TimeSpan) : bool
Documentation for this section has not yet been entered.
TryTake(out T, int, System.Threading.CancellationToken) : bool
Documentation for this section has not yet been entered.
static
TryTakeFromAny(BlockingCollection<T>[], out T) : int
Documentation for this section has not yet been entered.
static
TryTakeFromAny(BlockingCollection<T>[], out T, int) : int
Documentation for this section has not yet been entered.
static
TryTakeFromAny(BlockingCollection<T>[], out T, TimeSpan) : int
Documentation for this section has not yet been entered.
static
TryTakeFromAny(BlockingCollection<T>[], out T, int, System.Threading.CancellationToken) : int
Documentation for this section has not yet been entered.

Protected Methods

Dispose(bool)

Releases resources used by the System.Collections.Concurrent.BlockingCollection`1 instance.