次の方法で共有


ITarget::unlink_source Method

When overridden in a derived class, unlinks a specified source block from this ITarget block.

virtual void unlink_source(
   _Inout_ ISource<_Type> * _PSource
) = 0;

Parameters

  • _PSource
    The ISource block being unlinked from this ITarget block.

Remarks

This function should not be called directly on an ITarget block. Blocks should be disconnected using the unlink_target or unlink_targets methods on ISource blocks, which will invoke the unlink_source method on the corresponding target.

Requirements

Header: agents.h

Namespace: concurrency

See Also

Reference

ITarget Class