Export (0) Print
Expand All

target_block::send_message Method

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

virtual message_status send_message(
   _Inout_ message<_Source_type> *,
   _Inout_ ISource<_Source_type> *
);

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

By default, this block returns declined unless overridden by a derived class.

Header: agents.h

Namespace: concurrency

Show:
© 2014 Microsoft