Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

DataflowBlock.Choose Method

.NET Framework 4.5

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 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 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 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 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
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.