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::Receive Method

 

Synchronously receives a value from a specified source.

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

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticReceive<TOutput>(ISourceBlock<TOutput>^)

Synchronously receives a value from a specified source.

System_CAPS_pubmethodSystem_CAPS_staticReceive<TOutput>(ISourceBlock<TOutput>^, CancellationToken)

Synchronously receives a value from a specified source and provides a token to cancel the operation.

System_CAPS_pubmethodSystem_CAPS_staticReceive<TOutput>(ISourceBlock<TOutput>^, TimeSpan)

Synchronously receives a value from a specified source, observing an optional time-out period.

System_CAPS_pubmethodSystem_CAPS_staticReceive<TOutput>(ISourceBlock<TOutput>^, TimeSpan, CancellationToken)

Synchronously receives a value from a specified source, providing a token to cancel the operation and observing an optional time-out interval.

Return to top
Show:
© 2017 Microsoft