Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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(array<BlockingCollection<T>^>^, T%)

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

System_CAPS_pubmethodSystem_CAPS_staticTakeFromAny(array<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:
© 2017 Microsoft