source_block::release Method
Releases a previous successful message reservation.
virtual void release(
runtime_object_identity _MsgId,
_Inout_ ITarget<_Target_type> * _PTarget
);
Parameters
_MsgId
The runtime_object_identity of the reserved message object._PTarget
A pointer to the target block that is calling the release method.
Remarks
The method throws an invalid_argument exception if the parameter _PTarget is NULL.
The method throws a bad_target exception if the parameter _PTarget does not represent the target that called reserve.
Requirements
Header: agents.h
Namespace: concurrency