The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ISource::acquire_ref Method


When overridden in a derived class, acquires a reference count on this ISource block, to prevent deletion.

virtual void acquire_ref(
   _Inout_ ITarget<_Type> * _PTarget
) = 0;


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

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


Header: agents.h

Namespace: concurrency