Share via


source_block::unlink_target Method

Unlinks a target block from this source_block object.

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

Parameters

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

Remarks

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

Requirements

Header: agents.h

Namespace: concurrency

See Also

Reference

source_block Class