DataflowBlock.LinkTo DataflowBlock.LinkTo DataflowBlock.LinkTo DataflowBlock.LinkTo Method

Definición

Sobrecargas

LinkTo<TOutput>(ISourceBlock<TOutput>, ITargetBlock<TOutput>) LinkTo<TOutput>(ISourceBlock<TOutput>, ITargetBlock<TOutput>) LinkTo<TOutput>(ISourceBlock<TOutput>, ITargetBlock<TOutput>) LinkTo<TOutput>(ISourceBlock<TOutput>, ITargetBlock<TOutput>)

Vincula el ISourceBlock<TOutput> al ITargetBlock<TInput> especificado.Links the ISourceBlock<TOutput> to the specified ITargetBlock<TInput>.

LinkTo<TOutput>(ISourceBlock<TOutput>, ITargetBlock<TOutput>, Predicate<TOutput>) LinkTo<TOutput>(ISourceBlock<TOutput>, ITargetBlock<TOutput>, Predicate<TOutput>) LinkTo<TOutput>(ISourceBlock<TOutput>, ITargetBlock<TOutput>, Predicate<TOutput>) LinkTo<TOutput>(ISourceBlock<TOutput>, ITargetBlock<TOutput>, Predicate<TOutput>)

Vincula el ISourceBlock<TOutput> al ITargetBlock<TInput> especificado con el filtro especificado.Links the ISourceBlock<TOutput> to the specified ITargetBlock<TInput> using the specified filter.

LinkTo<TOutput>(ISourceBlock<TOutput>, ITargetBlock<TOutput>, DataflowLinkOptions, Predicate<TOutput>) LinkTo<TOutput>(ISourceBlock<TOutput>, ITargetBlock<TOutput>, DataflowLinkOptions, Predicate<TOutput>) LinkTo<TOutput>(ISourceBlock<TOutput>, ITargetBlock<TOutput>, DataflowLinkOptions, Predicate<TOutput>) LinkTo<TOutput>(ISourceBlock<TOutput>, ITargetBlock<TOutput>, DataflowLinkOptions, Predicate<TOutput>)

Vincula el ISourceBlock<TOutput> al ITargetBlock<TInput> especificado con el filtro especificado.Links the ISourceBlock<TOutput> to the specified ITargetBlock<TInput> using the specified filter.

LinkTo<TOutput>(ISourceBlock<TOutput>, ITargetBlock<TOutput>) LinkTo<TOutput>(ISourceBlock<TOutput>, ITargetBlock<TOutput>) LinkTo<TOutput>(ISourceBlock<TOutput>, ITargetBlock<TOutput>) LinkTo<TOutput>(ISourceBlock<TOutput>, ITargetBlock<TOutput>)

Vincula el ISourceBlock<TOutput> al ITargetBlock<TInput> especificado.Links the ISourceBlock<TOutput> to the specified ITargetBlock<TInput>.

public:
generic <typename TOutput>
[System::Runtime::CompilerServices::Extension]
 static IDisposable ^ LinkTo(System::Threading::Tasks::Dataflow::ISourceBlock<TOutput> ^ source, System::Threading::Tasks::Dataflow::ITargetBlock<TOutput> ^ target);
public static IDisposable LinkTo<TOutput> (this System.Threading.Tasks.Dataflow.ISourceBlock<TOutput> source, System.Threading.Tasks.Dataflow.ITargetBlock<TOutput> target);
static member LinkTo : System.Threading.Tasks.Dataflow.ISourceBlock<'Output> * System.Threading.Tasks.Dataflow.ITargetBlock<'Output> -> IDisposable
<Extension()>
Public Function LinkTo(Of TOutput) (source As ISourceBlock(Of TOutput), target As ITargetBlock(Of TOutput)) As IDisposable

Parámetros de tipo

TOutput

Especifica el tipo de datos contenidos en el origen.Specifies the type of data contained in the source.

Parámetros

source
ISourceBlock<TOutput> ISourceBlock<TOutput> ISourceBlock<TOutput> ISourceBlock<TOutput>

El origen desde el que se va a vincular.The source from which to link.

target
ITargetBlock<TOutput>

ITargetBlock<TInput> con la que conectar el origen.The ITargetBlock<TInput> to which to connect the source.

Devoluciones

IDisposable que, tras llamar a Dispose, desvinculará el origen del destino.An IDisposable that, upon calling Dispose, will unlink the source from the target.

Excepciones

El valor de source es null.The source is null.

O bien-or- El valor de target es null.The target is null.

LinkTo<TOutput>(ISourceBlock<TOutput>, ITargetBlock<TOutput>, Predicate<TOutput>) LinkTo<TOutput>(ISourceBlock<TOutput>, ITargetBlock<TOutput>, Predicate<TOutput>) LinkTo<TOutput>(ISourceBlock<TOutput>, ITargetBlock<TOutput>, Predicate<TOutput>) LinkTo<TOutput>(ISourceBlock<TOutput>, ITargetBlock<TOutput>, Predicate<TOutput>)

Vincula el ISourceBlock<TOutput> al ITargetBlock<TInput> especificado con el filtro especificado.Links the ISourceBlock<TOutput> to the specified ITargetBlock<TInput> using the specified filter.

public:
generic <typename TOutput>
[System::Runtime::CompilerServices::Extension]
 static IDisposable ^ LinkTo(System::Threading::Tasks::Dataflow::ISourceBlock<TOutput> ^ source, System::Threading::Tasks::Dataflow::ITargetBlock<TOutput> ^ target, Predicate<TOutput> ^ predicate);
public static IDisposable LinkTo<TOutput> (this System.Threading.Tasks.Dataflow.ISourceBlock<TOutput> source, System.Threading.Tasks.Dataflow.ITargetBlock<TOutput> target, Predicate<TOutput> predicate);
static member LinkTo : System.Threading.Tasks.Dataflow.ISourceBlock<'Output> * System.Threading.Tasks.Dataflow.ITargetBlock<'Output> * Predicate<'Output> -> IDisposable
<Extension()>
Public Function LinkTo(Of TOutput) (source As ISourceBlock(Of TOutput), target As ITargetBlock(Of TOutput), predicate As Predicate(Of TOutput)) As IDisposable

Parámetros de tipo

TOutput

Especifica el tipo de datos contenidos en el origen.Specifies the type of data contained in the source.

Parámetros

source
ISourceBlock<TOutput> ISourceBlock<TOutput> ISourceBlock<TOutput> ISourceBlock<TOutput>

El origen desde el que se va a vincular.The source from which to link.

target
ITargetBlock<TOutput>

ITargetBlock<TInput> al que conectar el origen.The ITargetBlock<TInput> to which to connect the source.

predicate
Predicate<TOutput>

Filtro que un mensaje debe pasar para que se propague del origen al destino.The filter a message must pass in order for it to propagate from the source to the target.

Devoluciones

IDisposable que, tras llamar a Dispose, desvinculará el origen del destino.An IDisposable that, upon calling Dispose, will unlink the source from the target.

Excepciones

El valor de source es null.The source is null.

O bien-or- El valor de target es null.The target is null.

O bien-or- El valor de predicate es null.The predicate is null.

LinkTo<TOutput>(ISourceBlock<TOutput>, ITargetBlock<TOutput>, DataflowLinkOptions, Predicate<TOutput>) LinkTo<TOutput>(ISourceBlock<TOutput>, ITargetBlock<TOutput>, DataflowLinkOptions, Predicate<TOutput>) LinkTo<TOutput>(ISourceBlock<TOutput>, ITargetBlock<TOutput>, DataflowLinkOptions, Predicate<TOutput>) LinkTo<TOutput>(ISourceBlock<TOutput>, ITargetBlock<TOutput>, DataflowLinkOptions, Predicate<TOutput>)

Vincula el ISourceBlock<TOutput> al ITargetBlock<TInput> especificado con el filtro especificado.Links the ISourceBlock<TOutput> to the specified ITargetBlock<TInput> using the specified filter.

public:
generic <typename TOutput>
[System::Runtime::CompilerServices::Extension]
 static IDisposable ^ LinkTo(System::Threading::Tasks::Dataflow::ISourceBlock<TOutput> ^ source, System::Threading::Tasks::Dataflow::ITargetBlock<TOutput> ^ target, System::Threading::Tasks::Dataflow::DataflowLinkOptions ^ linkOptions, Predicate<TOutput> ^ predicate);
public static IDisposable LinkTo<TOutput> (this System.Threading.Tasks.Dataflow.ISourceBlock<TOutput> source, System.Threading.Tasks.Dataflow.ITargetBlock<TOutput> target, System.Threading.Tasks.Dataflow.DataflowLinkOptions linkOptions, Predicate<TOutput> predicate);
static member LinkTo : System.Threading.Tasks.Dataflow.ISourceBlock<'Output> * System.Threading.Tasks.Dataflow.ITargetBlock<'Output> * System.Threading.Tasks.Dataflow.DataflowLinkOptions * Predicate<'Output> -> IDisposable
<Extension()>
Public Function LinkTo(Of TOutput) (source As ISourceBlock(Of TOutput), target As ITargetBlock(Of TOutput), linkOptions As DataflowLinkOptions, predicate As Predicate(Of TOutput)) As IDisposable

Parámetros de tipo

TOutput

Especifica el tipo de datos contenidos en el origen.Specifies the type of data contained in the source.

Parámetros

source
ISourceBlock<TOutput> ISourceBlock<TOutput> ISourceBlock<TOutput> ISourceBlock<TOutput>

El origen desde el que se va a vincular.The source from which to link.

target
ITargetBlock<TOutput>

ITargetBlock<TInput> al que conectar el origen.The ITargetBlock<TInput> to which to connect the source.

linkOptions
DataflowLinkOptions DataflowLinkOptions DataflowLinkOptions DataflowLinkOptions

Uno de los valores de enumeración que especifica cómo configurar un vínculo entre bloques de flujo de datos.One of the enumeration values that specifies how to configure a link between dataflow blocks.

predicate
Predicate<TOutput>

Filtro que un mensaje debe pasar para que se propague del origen al destino.The filter a message must pass in order for it to propagate from the source to the target.

Devoluciones

IDisposable que, tras llamar a Dispose, desvinculará el origen del destino.An IDisposable that, upon calling Dispose, will unlink the source from the target.

Excepciones

source es NULL (Nothing en Visual Basic).The source is null (Nothing in Visual Basic).

O bien-or- target es NULL (Nothing en Visual Basic).The target is null (Nothing in Visual Basic).

O bien-or- linkOptions es NULL (Nothing en Visual Basic).The linkOptions is null (Nothing in Visual Basic).

O bien-or- predicate es NULL (Nothing en Visual Basic).The predicate is null (Nothing in Visual Basic).

Se aplica a