TransformBlock(Of TInput, TOutput) Constructor (Func(Of TInput, TOutput))

.NET Framework (current version)

Initializes a new TransformBlock(Of TInput, TOutput) with the specified Func(Of T, TResult).

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

'Declaration
Public Sub New ( _
	transform As Func(Of TInput, TOutput) _
)

Parameters

transform
Type: System.Func(Of TInput, TOutput)

The function to invoke with each data element received.

ExceptionCondition
ArgumentNullException

The transform is Nothing.

.NET Framework

Supported in: 4.5

Portable Class Library

Supported in: Portable Class Library
Show: