DataflowBlock::Choose Method
Monitors multiple dataflow sources, invoking the provided handler for whichever source makes data available first.
Assembly: System.Threading.Tasks.Dataflow (in System.Threading.Tasks.Dataflow.dll)
| Name | Description | |
|---|---|---|
![]() ![]() | Choose<T1, T2>(ISourceBlock<T1>^, Action<T1>^, ISourceBlock<T2>^, Action<T2>^) | Monitors two dataflow sources, invoking the provided handler for whichever source makes data available first. |
![]() ![]() | Choose<T1, T2>(ISourceBlock<T1>^, Action<T1>^, ISourceBlock<T2>^, Action<T2>^, DataflowBlockOptions^) | Monitors two dataflow sources, invoking the provided handler for whichever source makes data available first. |
![]() ![]() | Choose<T1, T2, T3>(ISourceBlock<T1>^, Action<T1>^, ISourceBlock<T2>^, Action<T2>^, ISourceBlock<T3>^, Action<T3>^) | Monitors three dataflow sources, invoking the provided handler for whichever source makes data available first. |
![]() ![]() | Choose<T1, T2, T3>(ISourceBlock<T1>^, Action<T1>^, ISourceBlock<T2>^, Action<T2>^, ISourceBlock<T3>^, Action<T3>^, DataflowBlockOptions^) | Monitors three dataflow sources, invoking the provided handler for whichever source makes data available first. |

