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>::TryTakeFromAny Method

.NET Framework (current version)
 

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

Tries to remove an item from any one of the specified BlockingCollection<T> instances.

System_CAPS_pubmethodSystem_CAPS_staticTryTakeFromAny(array<BlockingCollection<T>^>^, T%, Int32)

Tries to remove an item from any one of the specified BlockingCollection<T> instances.

System_CAPS_pubmethodSystem_CAPS_staticTryTakeFromAny(array<BlockingCollection<T>^>^, T%, Int32, CancellationToken)

Tries to remove an item from any one of the specified BlockingCollection<T> instances.

System_CAPS_pubmethodSystem_CAPS_staticTryTakeFromAny(array<BlockingCollection<T>^>^, T%, TimeSpan)

Tries to remove an item from any one of the specified BlockingCollection<T> instances.

Return to top
Show:
© 2017 Microsoft