Export (0) Print
Expand All

target_block::propagate_message Method

When overridden in a derived class, this method asynchronously passes a message from an ISource block to this target_block object. It is invoked by the propagate method, when called by a source block.

virtual message_status propagate_message(
   _Inout_ message<_Source_type> * _PMessage,
   _Inout_ ISource<_Source_type> * _PSource
) = 0;


A pointer to the message object.


A pointer to the source block offering the message.

A message_status indication of what the target decided to do with the message.

Header: agents.h

Namespace: concurrency

© 2014 Microsoft