Attempts to synchronously receive an available output item from the IReceivableSourceBlock<TOutput>.
Assembly: System.Threading.Tasks.Dataflow (in System.Threading.Tasks.Dataflow.dll)
- Type: System.Predicate<T>
The predicate value must successfully pass in order for it to be received. filter may be null, in which case all items will pass.
- Type: T
The item received from the source.
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.