source_block::acquire_ref Method

Acquires a reference count on this source_block object, to prevent deletion.

virtual void acquire_ref(
   _Inout_ ITarget<_Target_type> *
);

Remarks

This method is called by an ITarget object that is being linked to this source during the link_target method.

Requirements

Header: agents.h

Namespace: concurrency

See Also

Reference

source_block Class