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.

ActionBlock<TInput> Constructor

 

Updated: October 7, 2015

Initializes a new instance of the ActionBlock<TInput> class.

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

NameDescription
System_CAPS_pubmethodActionBlock<TInput>(Action<TInput>^)

Initializes a new instance of the ActionBlock<TInput> class with the specified action.

System_CAPS_pubmethodActionBlock<TInput>(Action<TInput>^, ExecutionDataflowBlockOptions^)

Initializes a new instance of the ActionBlock<TInput> class with the specified action and configuration options.

System_CAPS_pubmethodActionBlock<TInput>(Func<TInput, Task^>^)

Initializes a new instance of the ActionBlock<TInput> class with the specified action.

System_CAPS_pubmethodActionBlock<TInput>(Func<TInput, Task^>^, ExecutionDataflowBlockOptions^)

Initializes a new instance of the ActionBlock<TInput> class with the specified action and configuration options.

Return to top
Show:
© 2017 Microsoft