共用方式為


source_block::propagate_to_any_targets Method

When overridden in a derived class, propagates the given message to any or all of the linked targets. This is the main propagation routine for message blocks.

virtual void propagate_to_any_targets(
   _Inout_opt_ message<_Target_type> * _PMessage
);

Parameters

  • _PMessage
    A pointer to the message that is to be propagated.

Requirements

Header: agents.h

Namespace: concurrency

See Also

Reference

source_block Class