Share via


JoinBlock<T1,T2>.TryReceiveAll(IList<Tuple<T1,T2>>) 메서드

정의

IReceivableSourceBlock<TOutput>에서 모든 사용 가능한 항목을 비동기적으로 받으려고 시도합니다.

public:
 virtual bool TryReceiveAll([Runtime::InteropServices::Out] System::Collections::Generic::IList<Tuple<T1, T2> ^> ^ % items);
public bool TryReceiveAll (out System.Collections.Generic.IList<Tuple<T1,T2>> items);
public bool TryReceiveAll (out System.Collections.Generic.IList<Tuple<T1,T2>>? items);
abstract member TryReceiveAll : IList -> bool
override this.TryReceiveAll : IList -> bool
Public Function TryReceiveAll (ByRef items As IList(Of Tuple(Of T1, T2))) As Boolean

매개 변수

items
IList<Tuple<T1,T2>>

소스에서 받은 항목입니다.

반환

하나 이상의 항목을 받을 수 있으면 true이고, 그렇지 않으면 false입니다.

설명

이 메서드는 원본이 항목을 제공할 때까지 기다리는 것을 차단하지 않습니다.

요소를 사용할 수 있는지 여부와 요소를 확인한 후 반환됩니다.

적용 대상