Sdílet prostřednictvím


Checking Transaction Boundary Examples

 

Applies To: Windows 10, Windows 7, Windows 8, Windows 8.1, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, Windows Server 2012 R2, Windows Server Technical Preview, Windows Vista

The receiving application can verify that a message was sent as part of a specific transaction by checking the boundary of the transactional messages in the queue. Message Queuing provides message properties that can be used to verify that a message was part of a specific transaction, and which messages were the first and last messages sent to the queue in that transaction.

Code Examples

The following examples show how to check transaction boundaries.

For an example of Language
Checking transaction boundaries C/C++ Code Example: Checking Transaction Boundaries

 Visual Basic Code Example: Checking Transaction Boundaries