Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

unbounded_buffer::reserve_message Method

Reserves a message previously offered by this unbounded_buffer messaging block.

virtual bool reserve_message(
   runtime_object_identity _MsgId
);

_MsgId

The runtime_object_identity of the message object being reserved.

true if the message was successfully reserved, false otherwise.

After reserve is called, if it returns true, either consume or release must be called to either take or release ownership of the message.

Header: agents.h

Namespace: Concurrency

Community Additions

ADD
Show:
© 2015 Microsoft