unbounded_buffer::send_message Method

unbounded_buffer::send_message Method


Synchronously passes a message from an ISource block to this unbounded_buffer messaging block. It is invoked by the send method, when called by a source block.

virtual message_status send_message(
   _Inout_ message<_Type> * _PMessage,
   _Inout_ ISource<_Type> * _PSource


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

© 2015 Microsoft