TransformBlock<TInput,TOutput> 생성자

정의

오버로드

TransformBlock<TInput,TOutput>(Func<TInput,Task<TOutput>>)

지정된 Func<T,TResult>을 사용하여 새 TransformBlock<TInput,TOutput>를 초기화합니다.Initializes a new TransformBlock<TInput,TOutput> with the specified Func<T,TResult>.

TransformBlock<TInput,TOutput>(Func<TInput,TOutput>)

지정된 Func<T,TResult>을 사용하여 새 TransformBlock<TInput,TOutput>를 초기화합니다.Initializes a new TransformBlock<TInput,TOutput> with the specified Func<T,TResult>.

TransformBlock<TInput,TOutput>(Func<TInput,Task<TOutput>>, ExecutionDataflowBlockOptions)

지정된 TransformBlock<TInput,TOutput>Func<T,TResult>를 사용하여 새 ExecutionDataflowBlockOptions를 초기화합니다.Initializes a new TransformBlock<TInput,TOutput> with the specified Func<T,TResult> and ExecutionDataflowBlockOptions.

TransformBlock<TInput,TOutput>(Func<TInput,TOutput>, ExecutionDataflowBlockOptions)

지정된 TransformBlock<TInput,TOutput>Func<T,TResult>를 사용하여 새 ExecutionDataflowBlockOptions를 초기화합니다.Initializes a new TransformBlock<TInput,TOutput> with the specified Func<T,TResult> and ExecutionDataflowBlockOptions.

TransformBlock<TInput,TOutput>(Func<TInput,Task<TOutput>>)

지정된 Func<T,TResult>을 사용하여 새 TransformBlock<TInput,TOutput>를 초기화합니다.Initializes a new TransformBlock<TInput,TOutput> with the specified Func<T,TResult>.

public:
 TransformBlock(Func<TInput, System::Threading::Tasks::Task<TOutput> ^> ^ transform);
public TransformBlock (Func<TInput,System.Threading.Tasks.Task<TOutput>> transform);
new System.Threading.Tasks.Dataflow.TransformBlock<'Input, 'Output> : Func<'Input, System.Threading.Tasks.Task<'Output>> -> System.Threading.Tasks.Dataflow.TransformBlock<'Input, 'Output>
Public Sub New (transform As Func(Of TInput, Task(Of TOutput)))

매개 변수

transform
Func<TInput,Task<TOutput>>

수신하는 각 데이터 요소를 사용하여 호출할 함수입니다.The function to invoke with each data element received.

예외

transformnull인 경우The transform is null.

적용 대상

TransformBlock<TInput,TOutput>(Func<TInput,TOutput>)

지정된 Func<T,TResult>을 사용하여 새 TransformBlock<TInput,TOutput>를 초기화합니다.Initializes a new TransformBlock<TInput,TOutput> with the specified Func<T,TResult>.

public:
 TransformBlock(Func<TInput, TOutput> ^ transform);
public TransformBlock (Func<TInput,TOutput> transform);
new System.Threading.Tasks.Dataflow.TransformBlock<'Input, 'Output> : Func<'Input, 'Output> -> System.Threading.Tasks.Dataflow.TransformBlock<'Input, 'Output>
Public Sub New (transform As Func(Of TInput, TOutput))

매개 변수

transform
Func<TInput,TOutput>

수신하는 각 데이터 요소를 사용하여 호출할 함수입니다.The function to invoke with each data element received.

예외

transformnull인 경우The transform is null.

적용 대상

TransformBlock<TInput,TOutput>(Func<TInput,Task<TOutput>>, ExecutionDataflowBlockOptions)

지정된 TransformBlock<TInput,TOutput>Func<T,TResult>를 사용하여 새 ExecutionDataflowBlockOptions를 초기화합니다.Initializes a new TransformBlock<TInput,TOutput> with the specified Func<T,TResult> and ExecutionDataflowBlockOptions.

public:
 TransformBlock(Func<TInput, System::Threading::Tasks::Task<TOutput> ^> ^ transform, System::Threading::Tasks::Dataflow::ExecutionDataflowBlockOptions ^ dataflowBlockOptions);
public TransformBlock (Func<TInput,System.Threading.Tasks.Task<TOutput>> transform, System.Threading.Tasks.Dataflow.ExecutionDataflowBlockOptions dataflowBlockOptions);
new System.Threading.Tasks.Dataflow.TransformBlock<'Input, 'Output> : Func<'Input, System.Threading.Tasks.Task<'Output>> * System.Threading.Tasks.Dataflow.ExecutionDataflowBlockOptions -> System.Threading.Tasks.Dataflow.TransformBlock<'Input, 'Output>
Public Sub New (transform As Func(Of TInput, Task(Of TOutput)), dataflowBlockOptions As ExecutionDataflowBlockOptions)

매개 변수

transform
Func<TInput,Task<TOutput>>

수신하는 각 데이터 요소를 사용하여 호출할 함수입니다.The function to invoke with each data element received.

dataflowBlockOptions
ExecutionDataflowBlockOptions

TransformBlock<TInput,TOutput>을 구성하는 옵션입니다.The options with which to configure this TransformBlock<TInput,TOutput>.

예외

transformnull인 경우The transform is null.

또는-or- dataflowBlockOptionsnull인 경우The dataflowBlockOptions is null.

적용 대상

TransformBlock<TInput,TOutput>(Func<TInput,TOutput>, ExecutionDataflowBlockOptions)

지정된 TransformBlock<TInput,TOutput>Func<T,TResult>를 사용하여 새 ExecutionDataflowBlockOptions를 초기화합니다.Initializes a new TransformBlock<TInput,TOutput> with the specified Func<T,TResult> and ExecutionDataflowBlockOptions.

public:
 TransformBlock(Func<TInput, TOutput> ^ transform, System::Threading::Tasks::Dataflow::ExecutionDataflowBlockOptions ^ dataflowBlockOptions);
public TransformBlock (Func<TInput,TOutput> transform, System.Threading.Tasks.Dataflow.ExecutionDataflowBlockOptions dataflowBlockOptions);
new System.Threading.Tasks.Dataflow.TransformBlock<'Input, 'Output> : Func<'Input, 'Output> * System.Threading.Tasks.Dataflow.ExecutionDataflowBlockOptions -> System.Threading.Tasks.Dataflow.TransformBlock<'Input, 'Output>
Public Sub New (transform As Func(Of TInput, TOutput), dataflowBlockOptions As ExecutionDataflowBlockOptions)

매개 변수

transform
Func<TInput,TOutput>

수신하는 각 데이터 요소를 사용하여 호출할 함수입니다.The function to invoke with each data element received.

dataflowBlockOptions
ExecutionDataflowBlockOptions

TransformBlock<TInput,TOutput>을 구성하는 옵션입니다.The options with which to configure this TransformBlock<TInput,TOutput>.

예외

transformnull인 경우The transform is null.

또는-or- dataflowBlockOptionsnull인 경우The dataflowBlockOptions is null.

적용 대상