IReceivableSourceBlock<TOutput>.TryReceiveAll 方法    
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
从 IReceivableSourceBlock<TOutput> 中尝试同步接收所有可用项。
public:
 bool TryReceiveAll([Runtime::InteropServices::Out] System::Collections::Generic::IList<TOutput> ^ % items);
	public bool TryReceiveAll (out System.Collections.Generic.IList<TOutput> items);
	public bool TryReceiveAll (out System.Collections.Generic.IList<TOutput>? items);
	abstract member TryReceiveAll : IList -> bool
	Public Function TryReceiveAll (ByRef items As IList(Of TOutput)) As Boolean
	参数
- items
 - IList<TOutput>
 
从源中接收的项。
返回
如果可以接收一个或多个项目,则为 true;否则为 false。
注解
此方法不会阻止等待源提供项。
它将在检查元素后返回,无论元素是否可用。