GetConsumingEnumerable Method
From Task Parallel System.Threading
|
|
| .NET Framework Class Library |
| BlockingCollection<(Of <(T>)>)..::.GetConsumingEnumerable Method |
| BlockingCollection<(Of <(T>)>) Class See Also Send Feedback |
Overload List
| Name | Description | |
|---|---|---|
| GetConsumingEnumerable()()() | Provides a consuming IEnumerable<(Of <(T>)>) for items in the collection. | |
| GetConsumingEnumerable(CancellationToken) | Provides a consuming IEnumerable<(Of <(T>)>) for items in the collection.
Calling MoveNext on the returned enumerable will block if there is no data available, or will
throw an OperationCanceledException if the CancellationToken is canceled.
|