Export (0) Print
Expand All

ActionBlock<TInput> Constructor

.NET Framework 4.6 and 4.5

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

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 Supported by Portable Class Library ActionBlock<TInput>(Action<TInput>) Initializes a new instance of the ActionBlock<TInput> class with the specified action.
Public method Supported by Portable Class Library ActionBlock<TInput>(Func<TInput, Task>) Initializes a new instance of the ActionBlock<TInput> class with the specified action.
Public method Supported by Portable Class Library ActionBlock<TInput>(Action<TInput>, ExecutionDataflowBlockOptions) Initializes a new instance of the ActionBlock<TInput> class with the specified action and configuration options.
Public method Supported by Portable Class Library ActionBlock<TInput>(Func<TInput, Task>, ExecutionDataflowBlockOptions) Initializes a new instance of the ActionBlock<TInput> class with the specified action and configuration options.
Top
Show:
© 2015 Microsoft