Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
transformer::consume_message Method

transformer::consume_message Method

Consumes a message previously offered by the transformer and reserved by the target, transferring ownership to the caller.

virtual message<_Output> * consume_message(
   runtime_object_identity _MsgId
);

_MsgId

The runtime_object_identity of the message object being consumed.

A pointer to the message object that the caller now has ownership of.

Similar to accept, but is always preceded by a call to reserve.

Header: agents.h

Namespace: Concurrency

Community Additions

ADD
Show:
© 2015 Microsoft