BlockingCollection<T>.TakeFromAny Method

.NET Framework (current version)
 

Takes an item from any one of the specified BlockingCollection<T> instances.

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

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticTakeFromAny(BlockingCollection<T>[], T)

Takes an item from any one of the specified BlockingCollection<T> instances.

System_CAPS_pubmethodSystem_CAPS_staticTakeFromAny(BlockingCollection<T>[], T, CancellationToken)

Takes an item from any one of the specified BlockingCollection<T> instances while observing the specified cancellation token.

Return to top
Show: