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

source_block::release_ref Method

Releases a reference count on this source_block object.

virtual void release_ref(
   ITarget<_Target_type> * _PTarget


A pointer to the target block that is calling this method.

This method is called by an ITarget object that is being unlinked from this source. The source block is allowed to release any resources reserved for the target block.

Header: agents.h

Namespace: Concurrency