Windows apps
Collapse the table of content
Expand the table of content
Information
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.

propagator_block::propagate_message Method

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

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

_PMessage

A pointer to the message object.

_PSource

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

Community Additions

Show:
© 2016 Microsoft