JoinBlock<T1, T2, T3>.TryReceive Method
Attempts to synchronously receive an available output item from the IReceivableSourceBlock<TOutput>.
Assembly: System.Threading.Tasks.Dataflow (in System.Threading.Tasks.Dataflow.dll)
public bool TryReceive( Predicate<Tuple<T1, T2, T3>> filter, out Tuple<T1, T2, T3> item )
- Type: System.Predicate<Tuple<T1, T2, T3>>
The predicate value must successfully pass in order for it to be received. filter may be null, in which case all items will pass.
Return ValueType: System.Boolean
true if an item could be received; otherwise, false.
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.