DataflowBlock.NullTarget<TInput> Méthode

Définition

Obtient un bloc cible qui accepte de façon synchrone tous les messages qui lui sont proposés et les supprime.

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)

Paramètres de type

TInput

Type des messages que ce bloc peut accepter.

Retours

Qui ITargetBlock<TInput> accepte et supprime par la suite tous les messages proposés.

S’applique à