Windows apps
Collapse the table of content
Expand the table of content
Information
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.

WriteOnceBlock<T>::IReceivableSourceBlock<T>::TryReceiveAll Method (IList<T>^)

 

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)

private:
virtual bool TryReceiveAll(
	[OutAttribute] IList<T>^% items
) sealed = IReceivableSourceBlock<T>::TryReceiveAll

Parameters

items
Type: System.Collections.Generic::IList<T>^

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.

Return to top
Show:
© 2017 Microsoft