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>::TryTake Method
.NET Framework (current version)
Tries to remove an item from the BlockingCollection<T>.
Assembly: System (in System.dll)
| Name | Description | |
|---|---|---|
![]() | TryTake(T%) | Tries to remove an item from the BlockingCollection<T>. |
![]() | TryTake(T%, Int32) | Tries to remove an item from the BlockingCollection<T> in the specified time period. |
![]() | TryTake(T%, Int32, CancellationToken) | Tries to remove an item from the BlockingCollection<T> in the specified time period while observing a cancellation token. |
![]() | TryTake(T%, TimeSpan) | Tries to remove an item from the BlockingCollection<T> in the specified time period. |
Show:
