Export (0) Print
Expand All

BlockingCollection<T>.TryAddToAny Method

Tries to add the specified item to 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 TryAddToAny(BlockingCollection<T>[], T) Tries to add the specified item to any one of the specified BlockingCollection<T> instances.
Public method Static member TryAddToAny(BlockingCollection<T>[], T, Int32) Tries to add the specified item to any one of the specified BlockingCollection<T> instances.
Public method Static member TryAddToAny(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.
Public method Static member TryAddToAny(BlockingCollection<T>[], T, Int32, CancellationToken) Tries to add the specified item to any one of the specified BlockingCollection<T> instances.
Top
Show:
© 2014 Microsoft