DataflowBlock.Choose Method

.NET Framework (current version)

Monitors multiple dataflow sources, invoking the provided handler for whichever source makes data available first.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Public method Static member Supported by Portable Class Library 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.
Public method Static member Supported by Portable Class Library 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.
Public method Static member Supported by Portable Class Library 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.
Public method Static member Supported by Portable Class Library 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.
Top
Show: