We recommend using Visual Studio 2017
This documentation is archived and is not being maintained.

source_block::unlink_target Method

Unlinks a target block from this source_block object.

virtual void unlink_target(
   ITarget<_Target_type> * _PTarget


A pointer to an ITarget block to unlink from this source_block object.

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

Header: agents.h

Namespace: Concurrency