Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
TakeFromAny Method

BlockingCollection<T>.TakeFromAny Method

.NET Framework 4.6 and 4.5

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

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Public method Static member Supported by Portable Class Library TakeFromAny(BlockingCollection<T>[], T) Takes an item from any one of the specified BlockingCollection<T> instances.
Public method Static member Supported by Portable Class Library TakeFromAny(BlockingCollection<T>[], T, CancellationToken) Takes an item from any one of the specified BlockingCollection<T> instances while observing the specified cancellation token.
Top
Show:
© 2015 Microsoft