source_block::link_target Method

Links a target block to this source_block object.

virtual void link_target(
   _Inout_ ITarget<_Target_type> * _PTarget
);

_PTarget

A pointer to an ITarget block to link to this source_block object.

The method throws an invalid_argument exception if the parameter _PTarget is NULL.

Header: agents.h

Namespace: concurrency

Show: