Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

JoinBlock<T1, T2, T3>.TryReceiveAll Method

.NET Framework 4.6 and 4.5

Attempts to synchronously receive all available items from the IReceivableSourceBlock<TOutput>.

Namespace:  System.Threading.Tasks.Dataflow
Assembly:  System.Threading.Tasks.Dataflow (in System.Threading.Tasks.Dataflow.dll)

public bool TryReceiveAll(
	out IList<Tuple<T1, T2, T3>> items


Type: System.Collections.Generic.IList<Tuple<T1, T2, T3>>

The items received from the source.

Return Value

Type: System.Boolean
true if one or more items could be received; otherwise, false.



This method does not block waiting for the source to provide an item.

It will return after checking for elements, whether or not an element was available.

.NET Framework

Supported in: 4.5

Portable Class Library

Supported in: Portable Class Library
© 2015 Microsoft