JoinBlock<T1,T2,T3>.LinkTo Method

Definition

Links the source block to the specified target block.

public:
 virtual IDisposable ^ LinkTo(System::Threading::Tasks::Dataflow::ITargetBlock<Tuple<T1, T2, T3> ^> ^ target, System::Threading::Tasks::Dataflow::DataflowLinkOptions ^ linkOptions);
public IDisposable LinkTo (System.Threading.Tasks.Dataflow.ITargetBlock<Tuple<T1,T2,T3>> target, System.Threading.Tasks.Dataflow.DataflowLinkOptions linkOptions);
abstract member LinkTo : System.Threading.Tasks.Dataflow.ITargetBlock<'T1 * 'T2 * 'T3> * System.Threading.Tasks.Dataflow.DataflowLinkOptions -> IDisposable
override this.LinkTo : System.Threading.Tasks.Dataflow.ITargetBlock<'T1 * 'T2 * 'T3> * System.Threading.Tasks.Dataflow.DataflowLinkOptions -> IDisposable
Public Function LinkTo (target As ITargetBlock(Of Tuple(Of T1, T2, T3)), linkOptions As DataflowLinkOptions) As IDisposable

Parameters

target
ITargetBlock<Tuple<T1,T2,T3>>

The target block to which to connect this source.

linkOptions
DataflowLinkOptions

An object that configures the link.

Returns

A disposable object that unlinks the source from the target when its Dispose() method is called.

Implements

Exceptions

target is null.

-or-

linkOptions is null.

Applies to