DataflowBlock.NullTarget<TInput> Metoda

Definicja

Pobiera blok docelowy, który synchronicznie akceptuje wszystkie oferowane mu komunikaty i usuwa je.

public:
generic <typename TInput>
 static System::Threading::Tasks::Dataflow::ITargetBlock<TInput> ^ NullTarget();
public static System.Threading.Tasks.Dataflow.ITargetBlock<TInput> NullTarget<TInput> ();
static member NullTarget : unit -> System.Threading.Tasks.Dataflow.ITargetBlock<'Input>
Public Function NullTarget(Of TInput) () As ITargetBlock(Of TInput)

Parametry typu

TInput

Typ komunikatów, które może zaakceptować ten blok.

Zwraca

ITargetBlock<TInput>

Element ITargetBlock<TInput> , który akceptuje, a następnie odrzuca wszystkie oferowane komunikaty.

Dotyczy