Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

DataflowBlock::Choose Method

 

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

Namespace:   System.Threading.Tasks.Dataflow
Assembly:  System.Threading.Tasks.Dataflow (in System.Threading.Tasks.Dataflow.dll)

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticChoose<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.

System_CAPS_pubmethodSystem_CAPS_staticChoose<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.

System_CAPS_pubmethodSystem_CAPS_staticChoose<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.

System_CAPS_pubmethodSystem_CAPS_staticChoose<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.

Return to top
Show:
© 2017 Microsoft