BlockingCollection<T>.TryAddToAny Method

.NET Framework (current version)
 

Tries to add the specified item to any one of the specified BlockingCollection<T> instances.

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

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

Tries to add the specified item to any one of the specified BlockingCollection<T> instances.

System_CAPS_pubmethodSystem_CAPS_staticTryAddToAny(BlockingCollection<T>[], T, Int32)

Tries to add the specified item to any one of the specified BlockingCollection<T> instances.

System_CAPS_pubmethodSystem_CAPS_staticTryAddToAny(BlockingCollection<T>[], T, Int32, CancellationToken)

Tries to add the specified item to any one of the specified BlockingCollection<T> instances.

System_CAPS_pubmethodSystem_CAPS_staticTryAddToAny(BlockingCollection<T>[], T, TimeSpan)

Tries to add the specified item to any one of the specified BlockingCollection<T> instances while observing the specified cancellation token.

Return to top
Show: