Partilhar via


WriteOnceBlock<T> Construtores

Definição

Sobrecargas

WriteOnceBlock<T>(Func<T,T>)

Inicializa um novo WriteOnceBlock<T>.

WriteOnceBlock<T>(Func<T,T>, DataflowBlockOptions)

Inicializa um novo WriteOnceBlock<T> com o DataflowBlockOptions especificado.

WriteOnceBlock<T>(Func<T,T>)

Inicializa um novo WriteOnceBlock<T>.

public:
 WriteOnceBlock(Func<T, T> ^ cloningFunction);
public WriteOnceBlock (Func<T,T> cloningFunction);
public WriteOnceBlock (Func<T,T>? cloningFunction);
new System.Threading.Tasks.Dataflow.WriteOnceBlock<'T> : Func<'T, 'T> -> System.Threading.Tasks.Dataflow.WriteOnceBlock<'T>
Public Sub New (cloningFunction As Func(Of T, T))

Parâmetros

cloningFunction
Func<T,T>

A função a ser usada para clonar os dados oferecidos a outros blocos.

Aplica-se a

WriteOnceBlock<T>(Func<T,T>, DataflowBlockOptions)

Inicializa um novo WriteOnceBlock<T> com o DataflowBlockOptions especificado.

public:
 WriteOnceBlock(Func<T, T> ^ cloningFunction, System::Threading::Tasks::Dataflow::DataflowBlockOptions ^ dataflowBlockOptions);
public WriteOnceBlock (Func<T,T> cloningFunction, System.Threading.Tasks.Dataflow.DataflowBlockOptions dataflowBlockOptions);
public WriteOnceBlock (Func<T,T>? cloningFunction, System.Threading.Tasks.Dataflow.DataflowBlockOptions dataflowBlockOptions);
new System.Threading.Tasks.Dataflow.WriteOnceBlock<'T> : Func<'T, 'T> * System.Threading.Tasks.Dataflow.DataflowBlockOptions -> System.Threading.Tasks.Dataflow.WriteOnceBlock<'T>
Public Sub New (cloningFunction As Func(Of T, T), dataflowBlockOptions As DataflowBlockOptions)

Parâmetros

cloningFunction
Func<T,T>

A função a ser usada para clonar os dados oferecidos a outros blocos.

dataflowBlockOptions
DataflowBlockOptions

As opções com as quais este WriteOnceBlock<T> será configurado.

Exceções

O dataflowBlockOptions é null.

Aplica-se a