DataflowBlock.NullTarget<TInput> Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
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.