Partager via


TransformManyBlock<TInput,TOutput>.LinkTo Méthode

Définition

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

Paramètres

target
ITargetBlock<TOutput>

ITargetBlock<TInput> auquel connecter cette source.

linkOptions
DataflowLinkOptions

Instance DataflowLinkOptions qui configure le lien.

Retours

IDisposable qui, en appelant Dispose, dissocie la source de la cible.

Implémente

Exceptions

target a la valeur null (Nothing en Visual Basic) ou linkOptions a la valeur Null (Nothing en Visual Basic).

S’applique à